Re: Logging in macOS 12
Re: Logging in macOS 12
- Subject: Re: Logging in macOS 12
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sat, 08 Oct 2016 10:07:27 +0700
> On 7 Oct 2016, at 23:18, Jens Alfke <email@hidden> wrote:
>
>
>> On Oct 7, 2016, at 7:56 AM, Gerriet M. Denkmann <email@hidden> wrote:
>>
>> Some app with NSLog (not running in Xcode) does not show anything in Console.app.
>> Only when Iog in as administrator I can see the NSLog lines.
>
> Huh, you’re right…
>
> The Console app’s help has a link to developer docs on logging[1], which describe the new Unified Logging API that "supersedes ASL (Apple System Logger) and the Syslog APIs.” The current API docs for NSLog and NSLogv (in Xcode 8) only talk about ASL, though, so I guess they’re out of date.
>
> Being able to access a normally-launched app’s logs is pretty important for debugging. Surely there’s still a way to do it. Anyone know how?
Using Terminal.app I can see the logs (see: man log). But it is not very convenient.
>
> —Jens
>
> [1]: https://developer.apple.com/reference/os/1891852-logging
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden