Hi Did you try adding daemon.debug to syslog.conf?
On Thu, Jun 03, 2010 at 08:33:21AM +0100, Mark Lumsden wrote: > Syslogging has been added to the latest version of darkstat: > > http://dmr.ath.cx/net/darkstat/changelog.txt > > However, in order to get it working I've had to make two changes: > > 1. Comment out a line that makes a call to openlog, here is the call: > > openlog("darkstat", LOG_NDELAY | LOG_PID, LOG_DAEMON); > > 2. Change a call to syslog that uses LOG_DEBUG as its priority. Logging > starts to work by changing LOG_DEBUG to LOG_INFO. > > After looking at the respective man pages, I can't see anything wrong with > the original calls. Any ideas why logging shouldn't work unless the 2 > changes are made? > > -mark > > P.S. Coincidentally, I made a small test for syslog. With LOG_INFO as the > priority this works, with LOG_DEBUG it doesn't. > > #include <stdarg.h> > #include <syslog.h> > > int > main(void) > { > syslog(LOG_INFO, "%s", "hello"); > } > > >