Daemon logging and Snow Leopard
23 Sep
2009
23 Sep
'09
12:15 p.m.
It seems there are some inconsistencies about daemon logging on Snow Leopard: - asl(3) logs to the log database and system.log - NSLog logs only to system.log - printf logs nowhere The documentation states that NSLog uses asl(3), however these logs do not appear in the log database. Also the "Daemons and Agents" tech note states:
Logging With printf In Mac OS X 10.5 and later, launchd will capture any output to stdout and stderr and redirect it to ASL.
However I fail to see any printf reaching the log database or even system.log. Why is that? Thanks, Thomas
5890
Age (days ago)
5890
Last active (days ago)
0 comments
1 participants
participants (1)
-
Thomas Clement