From: Murray S. Kucherawy <msk@se...> - 2008-06-15 23:36:00
On Sun, 15 Jun 2008, Russell Bell wrote:
> I specify a SyslogFacility local2 in order to separate dkim-filter's
> log entries. Some messages go to local2, others to mail. Why?
Anything that gets logged by the filter before openlog() is called (which
happens late in the filter startup process) goes to the default facility
which is probably "daemon". Everything else should go to the requested
Calls to syslog() don't let the code specify which facility to use. You
specify that once, with openlog(). If your syslog daemon is writing some
things in the wrong place, it's a bug in your C library or in the daemon
since the filter itself doesn't make that request explicitly.