To scan your network, trigger deployments and send mails, Lansweeper uses a service called Lansweeper Server. This service writes its start events and possible errors to a log file on your Lansweeper server, Program Files (x86)\Lansweeper\Service\Errorlog.txt. If you submit a support ticket, you may at some point be asked by the Lansweeper support team to put the scanning service in debug mode, which will write more detailed information to the log file. Debug mode is useful for identifying database and other issues with your installation that could cause scanning failures, e.g. issues with missing database tables, fields or constraints.
To put the Lansweeper Server service in debug mode, do the following:
- Stop the Lansweeper Server service in Windows Services on the scanning server you'd like to put into debug mode.
- If your current service log, Program Files (x86)\Lansweeper\Service\Errorlog.txt, is too big to send to the Lansweeper support team, rename the file or move it to a different folder so a new log will be generated.
- Run the following tool found on the scanning server:Program Files (x86)\Lansweeper\Tools\ConfigEditor.exe
- Select the debug line in the Service tab, hit the Edit button and change the Value in the resulting popup from 0 to 1.
- Hit Save configs and restart service. If the service was successfully put into debug mode, a service start event with a debug message will be added to your (existing or newly generated) Errorlog.txt file. The Lansweeper Server service will now write more detailed error messages to your Errorlog.txt file, as errors occur.Once you or the Lansweeper team have finished troubleshooting, turn debugging back off by stopping the service, reverting the debug value to 0 and restarting the service. Leaving debug on will cause exponential growth of your Errorlog.txt file.