Enabling scan logging

From Lansweeper 5.2 onward, a built-in option in the web console allows you to log and view scan attempts made by the Lansweeper Server service. This is mostly useful for debugging purposes and should not otherwise be enabled, as scan logging can significantly increase the size of your database.

To log and view scan attempts, do the following:

  1. Browse to the following section of the web console: Configuration\Server options
    Server Options menu
  2. Tick the Enable scan logging checkbox in the Scan Logging section of the page.
  3. Tick the Delete scan logs after XX days checkbox as well and lower the days setting as much as possible. As scan logging can significantly increase the size of your database, it is recommended that you have this data deleted on a regular basis.
    enabling scan logging
  4. Restart the Lansweeper Server service in Windows Services on your Lansweeper server.
    restarting the Lansweeper Server service
  5. As soon as new scan attempts have been made, run a report based on the tblScanHistory database table to list the information collected by scan logging. A sample report can be found in this topic in our report center.
    running a scan logging report

Related Articles