Mac ASL: Unable to see my application's log messages

Posted by trojanfoe on Super User See other posts from Super User or by trojanfoe
Published on 2011-01-13T11:49:40Z Indexed on 2011/01/13 11:55 UTC
Read the original article Hit count: 306

Filed under:
|
|
|

I have just added ASL logging support to my application but I cannot see any log entries using Console.app. I am logging with facility 'com.mydomain.myapp' (that's not the actual value) and have even added an entry to /private/etc/asl.conf to tell syslogd to 'store' entries at this Facility (with any Level):

? [= Facility com.mydomain.myapp] store

I HUP'd syslogd with no success so I restarted my MacBook Pro, which also made no difference.

I know my application is logging OK as I have added the option ASL_OPT_STDERR when calling asl_open() and can see the entries on stderr.

Any help would be must appreciated!

© Super User or respective owner

Related posts about mac

Related posts about logging