Link to home
Create AccountLog in
Avatar of Starr Duskk
Starr DuskkFlag for United States of America

asked on

IIS7 Logging

Our server ran out of hard drive space. We noticed that it was due to W3c logs.
We saw a forum post that said it was okay to delete them, so we did.

I found the property for Logging. I would like to know what the recommended setting is for purging log files, etc., to keep these in check.

User generated image
We have never used them, nor had a need for them.

Avatar of Jose Torres
Jose Torres
Flag of United States of America image

First as a general rule I avoid putting the log files on the C drive unless I have no other drives available as C drives are generally configured smaller.  That alone would save you some grief down the road.

Now on to your question.
The logging you found does not control purging.  Rare as it may be there is no built in feature to purge log files.  What you are looking at is the basic configuration for logging.
The Log File section is pretty much what format, which fields and where you want the log files to be stored.
The Log File Rollover is basically states how often to create a new log file.

Check out the following links they may give you an idea on which way to go
Managing IIS Log File Storage
ODBC Logging <odbcLogging>
Avatar of Starr Duskk


In a nutshell, how do I turn them off and what are the ramifications if I do?

I have never personally ever done anything with log files since 1999. But maybe the system does, so I don't know.

Also, if I were to move them to the docs server on S:
It would just be this change?

Once I change that, do I need a reboot? Will it mess up users who are online at the time? (After I deleted them the other day, weird things happened on the server and we did a reboot. Could have been a coincidence, but who knows.)

And I notice I can set it to Daily, Weekly, Monthly. If I set it Monthly instead of daily, will that use less drive space and be fine? What are the ramifications of that?

SOS (sorry so stupid)

Avatar of Jose Torres
Jose Torres
Flag of United States of America image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account