Jamf Connect Logs
Login Window Logs and Debugging
You can collect logs from Jamf Connect login window with the Console application or using the log command in Terminal. When capturing logs, you can filter on all logs from the Security Agent process, which runs all of the Jamf Connect Login mechanisms.
Alternatively, you can filter the com.jamf.connect.login subsystem. The most recent login on the computer is stored in the following location: /private/tmp/jamf_login.log
To debug the login process, use secure shell (SSH) to access the computer and execute any of the following command:
Command |
Output |
log show --style compact --predicate 'subsystem == "com.jamf.connect.login"' --debug > ~/Desktop/JamfConnect.log |
Outputs all historical logs to a file. |
log show --style compact --predicate 'subsystem == "com.jamf.connect.login"' --debug --last 30m > ~/Desktop/JamfConnect.log |
Output recent logs to a file. This example collects logs from the last 30 minutes. |
log stream --style compact --predicate 'subsystem == "com.jamf.connect.login"' --debug |
Streams current logs in Terminal |
Note: Remote Login must be enabled on the computer to use SSH.
To stop logging, press control-C.
Menu Bar App Logs and Debugging
You can run the menu bar app in verbose mode and collect logs to help troubleshoot issues.
Verbose Mode
You can troubleshoot the Jamf Connect menu bar app by running it in verbose mode and capturing the logs. Verbose mode is used by running the app from the command line with the -v flag. You can run multiple copies of Jamf Connect at the same time by running an additional copy of the software instead of unloading a launch agent. The following command runs Jamf Connect in verbose mode:
/Applications/Jamf\ Connect.app/Contents/MacOS/Jamf\ Connect -v
You can also add the -prefs flag to have all of the current preferences displayed in the command line output. Preferences set with a configuration profile are specified as “Forced”.
Log Commands
You can use any of the following commands to collect logs from the Jamf Connect menu bar app.
Command |
Output |
log show --style compact --predicate 'subsystem == "com.jamf.connect"' --debug > ~/Desktop/JamfConnect.log |
Outputs all historical logs to a file. |
log show --style compact --predicate 'subsystem == "com.jamf.connect"' --debug --last 30m > ~/Desktop/JamfConnect.log |
Output recent logs to a file. This example collects logs from the last 30 minutes. |
log stream --style compact --predicate 'subsystem == "com.jamf.connect"' --debug |
Streams current logs in Terminal |
Logs in Console Application
You can use the Console app to view Jamf Connect logs.
To view logs, enter one of the following subsytems in the search field.
-
com.jamf.connect
-
com.jamf.connect.login