kcmurphy1
asked on
IIS6 Log Files Not Rolling
Hi - We're having an issue with IIS6 web logs. I'm not precisely sure how it started happening but it's in the last month or so. For some reason, IIS6 log files are not properly rolling. They just get bigger and bigger each day. If I go in and change from daily to hourly or turn local time on or off, it will create a new log file at that point and then just keep filling that one up.
Any ideas? :)
Any ideas? :)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Giving iusr access did not fix the issue. The files are writing there, they're just not closing off one file and opening a new one properly.
ASKER
I just looked in the metabase... I'm wondering if LogFileTruncateSize might not be the problem.. we changed to do it periodically but the truncatesize remains in the metabase. Here's the metabase entry for one of the sites in question:
<IIsWebServer Location ="/LM/W3SVC/619796104"
AuthFlags="0"
LogExtFileFlags="LogExtFileDate | LogExtFileHost | LogExtFileTime | LogExtFileClientIp | LogExtFileUserName | LogExtFileSiteName | LogExtFileComputerName | LogExtFileServerIp | LogExtFileMethod | LogExtFileUriStem | LogExtFileUriQuery | LogExtFileHttpStatus | LogExtFileWin32Status | LogExtFileBytesSent | LogExtFileBytesRecv | LogExtFileTimeTaken | LogExtFileServerPort | LogExtFileUserAgent | LogExtFileCookie | LogExtFileReferer | LogExtFileProtocolVersion | LogExtFileHttpSubStatus"
LogFileDirectory="D:\written\logs\-------------------.com"
LogFileLocaltimeRollover="TRUE"
LogFilePeriod="4"
LogFileTruncateSize="52428800"
LogPluginClsid="{FF160663-DE82-11CF-BC0A-00AA006111E0}"
SSLCertHash="-------------------"
SSLStoreName="MY"
SecureBindings="-------------------:443:"
ServerAutoStart="TRUE"
ServerBindings="1-------------------:80:
-------------------:80:
-------------------:80:"
ServerComment="www.-------------------.com"
>
</IIsWebServer>
ASKER
Hmm.. the overall setting for IIS was set to 50 meg rollover still. I changed that to hourly as well, we'll see if that fixes it at 1. :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've tried it with localtime for rollover enabled and disabled both, neither seems to work.