{"id":48764,"date":"2025-08-04T15:57:10","date_gmt":"2025-08-04T19:57:10","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=48764"},"modified":"2025-08-04T15:57:10","modified_gmt":"2025-08-04T19:57:10","slug":"logging-privacy-shenanigans","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2025\/08\/04\/logging-privacy-shenanigans\/","title":{"rendered":"Logging Privacy Shenanigans"},"content":{"rendered":"<p><a href=\"https:\/\/steipete.me\/posts\/2025\/logging-privacy-shenanigans\">Peter Steinberger<\/a>:<\/p>\n<blockquote cite=\"https:\/\/steipete.me\/posts\/2025\/logging-privacy-shenanigans\">\n<p>If you&rsquo;ve ever tried debugging a macOS app using the unified logging system, you&rsquo;ve probably encountered the dreaded <code>&lt;private&gt;<\/code> redaction. Your carefully crafted log messages turn into cryptic puzzles where the most important debugging information is hidden.<\/p>\n<p>[&#8230;]<\/p>\n<p>You don&rsquo;t need to use <tt>.mobileconfig<\/tt> files &#x2013; you can simply drop plist files directly into <tt>\/Library\/Preferences\/Logging\/Subsystems\/<\/tt>. This is actually what happens when you install a configuration profile anyway.<\/p>\n<p>[&#8230;]<\/p>\n<p>The configuration only affects <strong>new<\/strong> log entries.<\/p>\n<p>[&#8230;]<\/p>\n<p>If you prefer a GUI approach or need to deploy settings across multiple machines, you can still use configuration profiles[&#8230;]<\/p>\n<\/blockquote>\n\n<p>See also: <a href=\"https:\/\/eclecticlight.co\/2023\/03\/08\/removing-privacy-censorship-from-the-log\/\">Howard Oakley<\/a>.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/04\/30\/why-some-apps-sometimes-launch-extremely-slowly\/\">Why Some Apps Sometimes Launch Extremely Slowly<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/11\/21\/catalinas-log-cant-be-unprivatised\/\">Catalina&rsquo;s Log Can&rsquo;t Be Unprivatised<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2016\/10\/27\/sierra-log-littering\/\">Sierra Log Littering<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Peter Steinberger: If you&rsquo;ve ever tried debugging a macOS app using the unified logging system, you&rsquo;ve probably encountered the dreaded &lt;private&gt; redaction. Your carefully crafted log messages turn into cryptic puzzles where the most important debugging information is hidden. [&#8230;] You don&rsquo;t need to use .mobileconfig files &#x2013; you can simply drop plist files directly [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2025-08-04T19:57:12Z","apple_news_api_id":"277ab03b-c57e-4dac-842e-f48e1c4f3d38","apple_news_api_modified_at":"2025-08-04T19:57:12Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AJ3qwO8V-TayELvSOHE89OA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[56,30,2598,1504,355,71],"class_list":["post-48764","post","type-post","status-publish","format-standard","hentry","category-technology","tag-debugging","tag-mac","tag-macos-15-sequoia","tag-os_log","tag-privacy","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/48764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=48764"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/48764\/revisions"}],"predecessor-version":[{"id":48765,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/48764\/revisions\/48765"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=48764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=48764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=48764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}