Viewer Log on Android

The Viewer keeps a log of its activities. This log is helpful when tracking down incompatibilities and errors. Including relevant log entries in a Geocortex community post or in an email to Geocortex Support can be useful for troubleshooting. Unlike the HTML5 Viewer, the Geocortex Mobile App Framework keeps a log file, which is available after you close the App.

View the Log in the Viewer

To view the log in the viewer:

Filter the Log in the Viewer

To filter the log in the viewer:

  1. View the log.

  2. Click or tap Filter View.

    Several filters appear.

  3. Click or tap one of the following filters:

  4. Click or tap one of the following filters:

Enable Debug Logging in the Viewer

To enable debug logging in the viewer:

Debug logging provides extra information about the App's activities. While this can be useful for troubleshooting a problem, it can cause reduce App performance. We do not recommend enabling debug logging for normal use of the App.

  1. View the log.

  2. Select the Enable Debug Logging checkbox. By default, this checkbox is cleared.

    To actually view debug entries, click or tap Filter View, and then click or tap Debug.

Clear the Log in the Viewer

To clear the log in the viewer:

  1. View the log.

  2. Click or tap Clear Log.

    The log is cleared for the current session.

    This procedure only clears the viewer log for the current session, and does not delete log files.

Access the Log File

To access the log file:

  1. On your Android device, you can find the log file at the following location:

    Android/data/Geocortex.App/files/log.txt

The Geocortex Mobile App Framework also keeps two archived log files in the same location. When a log file exceeds 5 MB, older log entries are moved in the following order: log.txt, log.0.txt, log.1.txt, and finally removed.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 4.11