Viewer Log on iOS

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.

    In the Geocortex Mobile App Framework for iOS, you can also enable debug logging through the iOS Settings for Geocortex.

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. Connect your iOS device to a computer and open iTunes.

  2. When your device appears in the toolbar, click the device .

    A sidebar appears to configure settings.

  3. In the sidebar, click File Sharing .

    A new page appears to configure file sharing.

  4. At the bottom of the page, the File Sharing section lists Apps from which you can save files. In the Apps list, click Geocortex .

    The Geocortex Documents list appears.

  5. In the Geocortex Documents list, click log.txt .

  6. Click Save to .

  7. Navigate to a folder on your computer where you want to save the log file, and click Select Folder.

    The log file is saved to the folder you selected.

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