CLI Logging and Debugging

The Jamf Pro Server Tools CLI prints debugging information to the system logger, which manifests in the following locations:
  • Linux: The file in the /var/log folder that is configured to log events (usually /var/log/system.log). You can configure the logging location in the /etc/syslog.conf file.

  • Windows: Event Viewer—Look for the program jamf-pro-server-tools.

  • Mac: /var/log/system.log—Use the Console app to view and parse this file. To limit the event list to Jamf Pro Server Tools, search for the log prefix jamf-pro-server-tools.

If the above logging methods do not work and a failure is encountered, the Jamf Pro Server Tools CLI will attempt to create an .error.log file in place of the .sql.gz file of the same name.

If the Jamf Pro Server Tools CLI cannot create the .error.log file, an error will appear in the system log stating that insufficient privileges exist.