Skip to content

Updated log collection to aid DDM-based policies#731

Open
jwainwrightjc wants to merge 1 commit intomasterfrom
SUP-1555-macOS-Update-Patch-Management-Logging
Open

Updated log collection to aid DDM-based policies#731
jwainwrightjc wants to merge 1 commit intomasterfrom
SUP-1555-macOS-Update-Patch-Management-Logging

Conversation

@jwainwrightjc
Copy link
Copy Markdown
Contributor

@jwainwrightjc jwainwrightjc commented Mar 31, 2026

macOS - Update Patch Management Logging

Updated patch management logs to collect and function to aid with new DDM-based policies. Along with creating a new directory path to house all related PM logging.

Issues

What does this solve?

Includes logs to assist with troubleshooting DDM-based patch policies.
Improves log collation for improved navigation.

Is there anything particularly tricky?

N/A

How should this be tested?

Run the log collection script on a macOS device

Screenshots

Screenshot 2026-03-13 at 14 02 02 Screenshot 2026-03-13 at 10 25 36 AM

Note

Medium Risk
Moderate risk because it changes a root-run support script’s collection commands and output paths, which could affect troubleshooting output or fail on certain macOS versions/filesystems if paths/commands differ.

Overview
Updates the macOS log_collection.sh to better support troubleshooting DDM-based patch policies by introducing a dedicated systemLogs/patchManagement/ output folder and relocating patch-management artifacts into it.

Adds new patch-management captures (e.g., SoftwareUpdateMacController system log entries, DDM state persistence plist reads, and SoftwareUpdateDeviceID from mdmclient when a user is logged in) and adjusts where profile and softwareupdate --list outputs are written. Also bumps the script version to 1.2.9.

Written by Cursor Bugbot for commit f40645f. This will update automatically on new commits. Configure here.

…ting a new directory path to house all related PM logging.
@jwainwrightjc jwainwrightjc requested a review from a team as a code owner March 31, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant