zpropheter / Jamf-Log-Grabber

Finds logs and plists related to Jamf management settings
38 stars 7 forks source link

MDM Check Log Show takes 30 seconds on average #18

Closed zpropheter closed 2 months ago

zpropheter commented 3 months ago

Describe the bug Recently it appears that the log show command to check for "Unable to create MDM identity" takes upwards of 30 seconds depending on the device. This is a pretty severe lag when running considering the total runtime is about 45 seconds for JLG

To Reproduce Run log show --style compact --predicate '(process CONTAINS "mdmclient")' --last 1d | grep "Unable to create MDM identity"

Expected behavior My recollection is that this did not used to take as long to process. Opening report to investigate if this is just my device or every device.

Additional context Add any other context about the problem here.

zpropheter commented 3 months ago

Initial findings seem to be that it's simply the quantity of work that the mdmclient is doing can generate an excess number of logs to examine compared to a new enrollment.

zpropheter commented 3 months ago

Currently an active issue with latest release of Sonoma and log stream commands. Waiting for patch notes to see if resolved and further test in 14.5 and later.

zpropheter commented 2 months ago

Appears to be a side effect of how long a device is enrolled as well as a little more slowness on Sonoma compared to earlier releases. Nothing tangible to take action on at this time.

zpropheter commented 1 month ago

Issue appears to have resolved after a recent Sonoma update.