Re: log to multilog instead of file

[email protected] (Paul Jarc)
Newsgroups gmane.comp.djb.syslog
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
Adam Morley <[email protected]> wrote:
> I could, obviously, get only one custom log, but I'd still have two
> logs total.  Can I have both writing to /dev/stderr?  Or is that a
> "bad" idea.

It's potentially bad (log lines might be interleaved), depending on how
the service goes about writing to those logs.

> Right now, I simply have three "extra" services which handle
> listening to the log fifos, and then the actual apache service

That may be the best you can do, short of getting Apache to log
everything through one channel.  If a CustomLog could be made to
contain all the information sent to all the other logs, then you could
use /dev/null for all the others, and /dev/stdout for the CustomLog.


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