📢 Apple's logs redact your debugging data as <private>. Here's what actually gets hidden, why old tricks don't work anymore, and the only reliable way to see your logs again. https://steipete.me/posts/2025/logging-privacy-shenanigans
📢 Apple's logs redact your debugging data as <private>. Here's what actually gets hidden, why old tricks don't work anymore, and the only reliable way to see your logs again. https://steipete.me/posts/2025/logging-privacy-shenanigans
This blog post is partly targeted at humans, really serves as guide tho so Claude Code will create the correct profile for your app. Just give it the URL and it'll do what you want. I did "agent tests" to ensure it works.
@steipete you don’t need .mobileconfig, you can just drop plists into /Library/Preferences/Logging/Subsystems (this is in fact what happens when you install that mobileconfig file). This way you can add and remove the configs programmatically, like from a shell script.
@steipete nice! the one gotcha seems to be that you have to write them atomically, in my scripts I write to a temporary file and then mv into place. Anyway, I learned the plist trick from the os_log(5) man page, although it only mentions the corresponding location in /System, but it documents the payload format.