This article will assist you in enabling Debug Mode for several Jamf products, as well as where to view logs from your Apple devices so that you can troubleshoot on a deeper level. This article will cover how to enable additional logging for: the Jamf Pro Server, Jamf Pro Applications, Self Service on macOS, Policies, Packages, and MDM. This article will also cover viewing logs on macOS and iOS.
Jamf Pro applications v9.96 or later
Alternatively, we can also edit the log4j.properties file on the server itself within
To enable debug mode using this method, change "log4j.rootLogger=INFO,JAMF" to "log4j.rootLogger=DEBUG,JAMF" and then restart Apache Tomcat
To disable debug mode using this method, change "log4j.rootLogger=DEBUG,JAMF" to "log4j.rootLogger=INFO,JAMF" and then restart Apache Tomcat
touch /Applications/Jamf\ Pro/Jamf\ Admin.app/Contents/Support/debug
mkdir /Applications/Jamf\ Pro/Jamf\ Admin.app/Contents/Support/debug
Note: You can use touch and mkdir interchangeably.
The output for this log is in the Jamf__________Debug.log in:
To disable the debug logging, remove the following directory or file:
Modify the existing Self Service PLIST to put it in debug mode with the following command:
defaults write ~/Library/Preferences/com.jamfsoftware.selfservice debug_mode -boolean YES
The output for this log is in in the JAMFDebug.log in:
To disable debug logging, remove the PLIST file in:
sudo jamf policy -event <eventName> -verbose
Additional logging with package download and install is available on enrolled computers beginning with v9.92 of Jamf Pro. By default, additional logging is disabled for all users. Additional logging during a package install goes to the client computer's jamf.log file with a special marker "[DEBUG]" indicating it is extra information. The policy log uploaded to Jamf Pro does not change when additional logging is enabled.
Individual computers can have additional logging enabled or disabled by writing a specific key
to a preferences file on that computer. Debug logging can be enabled or disabled on computers using a script deployed as a policy.
sudo defaults write /Library/Preferences/com.jamfsoftware.jamf.plist global_log_level DEBUG
sudo defaults delete /Library/Preferences/com.jamfsoftware.jamf.plist global_log_level
sudo defaults write /Library/Preferences/com.apple.MCXDebug debugOutput -2 sudo defaults write /Library/Preferences/com.apple.MCXDebug collateLogs 1 sudo touch /var/db/MDM_EnableDebug
The output for this log is in the following locations:
To disable debug logging, remove the following files and reboot the machine:
The Console app (/Applications/Utilities/) has a new user interface for macOS Sierra.
There is now an ability to view logs per trusted device - iOS, watchOS, or tvOS.
Apple Configurator 2 has the ability to view logs of attached iOS devices.