inetpub\logs\logfiles\w3svc1 getting very large
We have recently built up an SCCM server and our "c drive" is filling up due to this directory, can we delete these files and if not how do we get this directory under control.We are running windows server 2008WSUS SCCM inetpub\logs\logfiles\w3svc1
December 28th, 2009 10:11pm

I trim mine with the following command which creates a scheduled task to do it :- at 12:00 /EVERY:Su Forfiles.exe -p C:\WINDOWS\system32\LogFiles\W3SVC1 -m *.log -d -30 -c \"Cmd.exe /C del @path\" This will run every Sunday, and will trim files in that folder older than 30 days. Adjust to suit. Regards, Tom Watson, E-Mail: Tom_... @... Blog: http://myitforum.com/cs2/blogs/tom_watson
Free Windows Admin Tool Kit Click here and download it now
December 29th, 2009 12:56pm

IIS logging is is enabled by default in IIs& ad IIS7.5 so I assume that you mean one of those: http://technet.microsoft.com/en-us/library/cc754631(WS.10).aspx.Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys
April 24th, 2010 5:14pm

Here we can disable the IIS log files Go To IIS console -> and Right click WebSite Property and click web site TAB find the Enable logging Next Step ->Uncheck the Enable Logging and restart the IISADMIN services after restart the service IIS log files are disbled
Free Windows Admin Tool Kit Click here and download it now
August 7th, 2010 7:42am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics