Logging to pipe

Dan M strangepics at gmail.com
Tue Jun 10 03:49:27 MSD 2008


Hi.

I am new to nginx, and this list, and just getting started with it. So
forgive if I am lacking some facts.

Someone mentioned they wanted a good remote logging software and
syslog replacement, log rotation etc.
Do not use syslog. It sucks for all the reasons already mentioned by
others on this list - slow and unreliable.

Does nginx write logs to standard out or error? Does it write to pipes?

If it does than you can use multilog from daemontools or runit/and/or
qlogtools with srlog2 or socklog. These are fast, reliable, secure and
flexible replacements.
Take a look.

logrotate is kludge.

http://smarden.sunsite.dk/runit/
http://cr.yp.to/daemontools.html
http://untroubled.org/srlog2/
http://untroubled.org/qlogtools/

-- 
Dan





More information about the nginx mailing list