Tuesday, 1 November 2011

Inforouter HotFolders creating large IIS log files

[Inforouter] Inforouter Hot folders can contribute to large IIS Server Logs. These can be stored  either in the C:\inetpub\logs\LogFiles\W3SVC1 folder or in the Windows\System32\logfiles\W3SVC1 folder. Depending on the operating system, these are not cleared down and either need to be cleared manually, the logging for the inforouter website disabled, or the hotfolder structure kept clean without unnecessary empty folders (see below) 

Each time that the Inforouter Hotfolder monitor cycles a check is made for the existence of each folder (even if empty), and if logging is turned on, this will generate a log entry, so if many folders exist, each cycle will create many log entries. If Formate is installed, Formate pruning can be used to remove empty folders. (PCA)

Link to a thread with details of a windows commandline to cleardown the logs
 http://social.technet.microsoft.com/Forums/en/configmgrgeneral/thread/d989b249-0159-41fc-b78c-1f1d91ce8bb3

Link to   technet article on switching off W3SVC logging in Windows 7/2008 etc (IIS 7)
http://technet.microsoft.com/en-us/library/cc754631(WS.10).aspx

Link to technet article on switching off W3SVC logging in Windows 2003 etc (IIS 6)
http://support.microsoft.com/kb/324279