Default installation and log file locations for Network Discovery

Prev Next

Lansweeper Discovery installs several core components such as the hub, sensors, and updater on your system. When troubleshooting, you can review these log files or use the built-in log collection script to gather diagnostic data.

For easy reference, this article lists default installation and log file locations for Windows, Linux, and macOS.

Installation paths

By default, Lansweeper Network Discovery installs its components in the following directories:

Windows

C:\Program Files\Lansweeper Network Discovery

Linux

/opt/lansweeper-hub
/opt/lansweeper-it-sensor
/opt/lansweeper-ot-sensor
/opt/lansweeper-network-discovery-traffic-sensor

Traffic sensor locations

The locations below are the default operational paths used by the traffic sensor on Linux:

/usr/local/bin/sensor
/opt/lansweeper-network-discovery-traffic-sensor/sensor.toml
/opt/lansweeper-network-discovery-traffic-sensor/sensor.env
/lib/systemd/system/sensor.service
/etc/cron.d/

macOS

/Application Support/Lansweeper Network Discovery

Log file locations

Lansweeper Network Discovery maintains separate log files for the hub, sensors, update service, and installers.

Reviewing these files helps diagnose communication, sync, or setup issues.

General logs

tools\gatherlogs\gatherlogs.ps1
sensors\IT\logs\Lansweeper.IT.Sensor.log
sensors\OT\logs\Lansweeper.OT.Sensor.log
hub\logs\Lansweeper.Discovery.Hub.log
update\logs\Lansweeper.Discovery.Update.log

Windows installer logs

C:\Program Files\Lansweeper Network Discovery\install\logs\Lansweeper_Network_Discovery_installer.log
C:\Users\%USERNAME%\AppData\Local\Temp\installbuilder_installer_00000.log (only if installation wasn’t successful)
C:\Users\%USERNAME%\AppData\Local\Temp\Lansweeper_Network_Discovery_uninstaller.log
C:\Users\%USERNAME%\AppData\Local\Temp\Lansweeper.IT.Hub.log

macOS installer logs

/tmp/Lansweeper_Network_Discovery*.log