Re: daemons logging to a file

Charles Cazabon <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
Bernhard Graf <[email protected]> wrote:
> > 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.

Yes.

> > 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.

Yes, but if you can't patch (no source), this might be the only solution in
some cases.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                              <[email protected]>
GPL'ed software available at:     http://www.qcc.ca/~charlesc/software/
-----------------------------------------------------------------------
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.