What level of Mac OS X are you using. Older versions are plain syslogd - and newer use the apple logging daemon. You might be thinking syslogd when you need to hook into the newer daemon.
–
bmike♦Aug 5 '11 at 17:03

I'm using Lion. What is this newer daemon you're talking about? Any reference is welcome...
–
Izak van LangeveldeAug 5 '11 at 19:38