[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log
Subject:    Re: daemons logging to a file
From:       Charles Cazabon <log () discworld ! dyndns ! org>
Date:       2003-11-01 15:50:10
[Download RAW message or body]

Bernhard Graf <log031031@augensalat.de> 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                              <log@discworld.dyndns.org>
GPL'ed software available at:     http://www.qcc.ca/~charlesc/software/
-----------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic