Re: daemons logging to a file

Bernhard Graf <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
On Friday 31 October 2003 18:16, Charles Cazabon wrote:

> > ERROR: Problem with internal logger. Please check the permissions
> > on the /dev/stdout file.
>
> Okay, no good then.  What program, exactly, are you trying to run?

clamd from the clamav suite (http://clamav.elektrapro.com/).

> Patching it might actually be the easiest solution.  Another might be

Not the easiest, but more robust than the fifo approach. Furthermore 
such a patch could fix (remove) several other design errors in this 
code as self-backgrounding, socket-io and set[ug]id.

> to write a tiny LD_PRELOAD shim library which makes the syslog
> functions actually just spit their message to stdout or stderr.

Confusing when you set syslog for logging in the configuration file when 
you mean logging to stderr.
-- 
Bernhard Graf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.