Mac ASL: Unable to see my application's log messages
- by trojanfoe
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!