mirror of
https://github.com/fleetdm/fleet
synced 2026-04-30 18:07:56 +00:00
630 B
630 B
Troubleshooting
Enable MDM debug logging on the device
- Install the
./tools/mdm/apple/turn_on_debug_mdm_logging.mobileconfigprofile on the device manually (by double-clicking such file) or using Fleet MDM via:
fleetctl apple-mdm enqueue-command InstallProfile --device-ids=<TARGET_DEVICE_ID> --mobileconfig ./tools/mdm/apple/turn_on_debug_mdm_logging.mobileconfig
-
Check the profile was successfully installed in "System Preferences" -> "Profiles".
-
Then on the device run the following command:
log stream --info --debug --predicate 'processImagePath contains "mdmclient"' | tee mdm_logs.txt