→ Upcoming Keynote Event - Introducing Lansweeper's 2023 Spring Release: 'Duvel' - Learn More

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Nils
Lansweeper Tech Support
Lansweeper Tech Support
GatherLogs is a tool introduced in Lansweeper 10.3. You will need to update your installation if you are running a lower Lansweeper version.

When contacting Lansweeper Support, it is always preferred to provide information from files stored on your Lansweeper server.

Starting from Lansweeper version 10.3, every Lansweeper installation includes the GatherLogs tool. This tool allows you to easily collect log files and other relevant information. When sent to Lansweeper Support, these files will provide the necessary information for the technical support engineers to start troubleshooting your case.

You can gather information from two places, namely: 

Running GatherLogs

  1. Go to Program Files (x86)\Lansweeper\Tools and run GatherLogs.exe.
  2. A command prompt window will show you the progress of the log file collection.
  3. After completion, the collected data is compressed into a Zip file in the same folder where the tool was executed. The Zip file will be named per the following format: GatherLogOutput-$computername-$datetime.zip

GatherLogs 1.png

Lansweeper Server

Depending on the installed Lansweeper components (scanning service, website, database), the GatherLogs tool will collect data based on what is present on the server.

The following list provides an overview of the information collected on the Lansweeper Server.

Lansweeper license and database information:

  • License.csv
  • Top10Tables.csv

Lansweeper configuration information:

  • tblLsAgentRelayConfig.csv
  • tsysAsServers.csv
  • tsysCloudConfiguration.csv
  • tsysCloudPrerequisitesCheck.csv
  • tsysConfig.csv

Event viewer exports filtered for the last 7 days:

  • Application.evtx
  • System.evtx

Log files generated during the Lansweeper installation/upgrading process:

  • Install*.log

Lansweeper service logs:

  • errorlog.txt
  • Lansweeper.LocalDB.Service.txt
  • sync_errorlog.txt

IIS Express service logs:

  • web_errorlog.txt

These files will be placed in separate folders in the Zip file.

Multiple installation log files may be present depending on the number of times Lansweeper has been upgraded since the initial installation.

Windows assets installed with LsAgent

The GatherLogs tool can be moved and executed from a Windows asset with LsAgent installed. Both the executable and the accompanying DLL ICSharpCode.SharpZipLib.dll must be moved together to achieve this.

If the DLL is missing, the collection of information will fail because the tool cannot compress and create a Zip file.

GatherLogs 2.png

The following list provides an overview of the information collected on a LsAgent for Windows asset.

Event viewer exports filtered for the last 7 days:

  • Application.evtx
  • System.evtx

LsAgent information and logs:

  • LsAgent.ini
  • lsagentconfiguration.xml
  • LsAgentlog.txt

These files will be placed in separate folders in the Zip file.

Was this article helpful? Yes No
No ratings

New to Lansweeper?

Try Lansweeper For Free

Test Drive Lansweeper Yourself. Explore our interactive Demo or sign up for free 14-day trial.

Try Now
Knowledge Base Dashboard
Article Dashboard
Version history
Last update:
‎01-30-2023 01:07 PM
Updated by: