Disabling IIS Express logging

If your Lansweeper web console is hosted by the IIS Express web server, the log files below may be generated. To preserve disk space and improve performance, it is generally recommended that you disable logging and then delete the log files.

C:\Windows\SysWOW64\config\systemprofile\Documents\IISExpress\Logs\LANSWEEPER.log
C:\Windows\System32\config\systemprofile\Documents\IISExpress\Logs\LANSWEEPER.log
C:\Documents and Settings\<username>\My Documents\IISExpress\Logs\LANSWEEPER.log
C:\Users\<username>\Documents\IISExpress\Logs\LANSWEEPER.log

 

To disable IIS Express logging, do the following:

  1. Stop the IIS Express service in Windows Services
    stopping the IIS Express service
  2. Open the following file with Notepad or another text editor:
    Program Files (x86)\Lansweeper\IISexpress\iisexpress.config
  3. Remove the lines below from the file, close and save.
    <add name="HttpLoggingModule" image="%IIS_BIN%\loghttp.dll" />
    <add name="HttpLoggingModule" lockItem="true" />
  4. Restart the IIS Express service in Windows Services
    starting the IIS Express service
  5. Once you've disabled logging, you can safely delete the log files below if they are present on your system.
    C:\Windows\SysWOW64\config\systemprofile\Documents\IISExpress\Logs\LANSWEEPER.log
    C:\Windows\System32\config\systemprofile\Documents\IISExpress\Logs\LANSWEEPER.log
    C:\Documents and Settings\<username>\My Documents\IISExpress\Logs\LANSWEEPER.log
    C:\Users\<username>\Documents\IISExpress\Logs\LANSWEEPER.log

Related Articles