{"id":17738,"date":"2017-04-14T15:07:41","date_gmt":"2017-04-14T19:07:41","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=17738"},"modified":"2017-05-03T15:21:57","modified_gmt":"2017-05-03T19:21:57","slug":"macos-10-12-4-locks-console-log-away-from-normal-users","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2017\/04\/14\/macos-10-12-4-locks-console-log-away-from-normal-users\/","title":{"rendered":"macOS 10.12.4 Locks Console Log Away From Normal Users"},"content":{"rendered":"<p><a href=\"https:\/\/eclecticlight.co\/2017\/04\/14\/sierras-log-is-now-locked-away-from-normal-users\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2017\/04\/14\/sierras-log-is-now-locked-away-from-normal-users\/\">\n<p>Apple has not apparently documented this anywhere, but it has changed access to Sierra&rsquo;s new log with the 10.12.4 update. When logged in as a normal &#x2013; as opposed to admin &#x2013; user, the entire contents of the logs are now inaccessible.<\/p>\n<p>[&#8230;]<\/p>\n<p>Log entries are still <em>made<\/em> while running with a normal user account logged in, but <code>log show<\/code>, Console, and Consolation are simply unable to find them. Consequently the only way to examine the log for a period logged in as a normal user is to log in as an admin user again and then examine previous log entries, something which Console cannot do unaided, making it even more unfit for purpose.<\/p>\n<p>[&#8230;]<\/p>\n<p>Although not common, apps and macOS can have bugs which only appear when running in normal user mode. This change therefore makes it much harder to use Console to examine such bugs, and much harder to investigate problems which are confined to normal user mode.<\/p>\n<\/blockquote>\n<p>Update (2017-04-15): <a href=\"https:\/\/twitter.com\/chilcote\/status\/853304578569142272\">Joseph Chilcote<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/chilcote\/status\/853304578569142272\"><p>Even more strange, <code>log stream<\/code> still works on standard accounts.<\/p><\/blockquote>\n<p>Update (2017-05-03): <a href=\"https:\/\/eclecticlight.co\/2017\/05\/03\/new-and-existing-bugs-in-the-unified-log-in-sierra-10-12-4\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2017\/05\/03\/new-and-existing-bugs-in-the-unified-log-in-sierra-10-12-4\/\">\n<p>Some previously-built <code>os_log()<\/code> calls no longer work properly.<\/p>\n<p>[&#8230;]<\/p>\n<p><code>log collect<\/code> commands still cannot be limited in size (bug since 10.12).<\/p>\n<p>[&#8230;]<\/p>\n<p>Swift calls to write strings using <code>%s<\/code> in <code>os_log()<\/code> fail<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Howard Oakley: Apple has not apparently documented this anywhere, but it has changed access to Sierra&rsquo;s new log with the 10.12.4 update. When logged in as a normal &#x2013; as opposed to admin &#x2013; user, the entire contents of the logs are now inaccessible. [&#8230;] Log entries are still made while running with a normal [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","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":[131,384,30,1381,901],"class_list":["post-17738","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bug","tag-console","tag-mac","tag-macos-10-12","tag-swift-programming-language"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17738","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=17738"}],"version-history":[{"count":5,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17738\/revisions"}],"predecessor-version":[{"id":17880,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17738\/revisions\/17880"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=17738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=17738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=17738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}