
This page explains why you should disable IIS Express logging on your web server, and how to delete any IIS Express logs that may have been recorded so far.
If your Lansweeper web console is hosted by the IIS Express web server, the IIS Express log files below may be generated.
To preserve disk space and improve performance, it is generally recommended that you disable IIS Express logging and then delete the IIS Express logs.
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
Disable IIS Express logging
- Stop the IIS Express service in Windows Services.

- Open the following file with Notepad or another text editor:
Program Files (x86)\Lansweeper\IISexpress\iisexpress.config
- Remove the following lines from the file, then close and save the edited file.
<add name="HttpLoggingModule" image="%IIS_BIN%\loghttp.dll" />
<add name="HttpLoggingModule" lockItem="true" />
- Restart the IIS Express service in Windows Services

- 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
Was this post helpful? Select Yes or No below!
Did you have a similar issue and a different solution? Or did you not find the information you needed? Create a post in our Community Forum for your fellow IT Heroes!
More questions? Browse our Quick Tech Solutions.