A solution is to periodically purge the oldest logfiles. This is easily done by creating a scheduled task with following command:
C:\>Forfiles.exe /P C:\WINDOWS\system32\LogFiles\W3SVC1 /M *.log /D -30 /C "Cmd.exe /C del @path"
See http://technet.microsoft.com/en-us/library/cc753551(v=ws.10).aspx
No comments:
Post a Comment