access_log
Philip Hallstrom
philip at pjkh.com
Tue Oct 16 22:28:06 MSD 2007
>> Is it possible to send logs to some program instead of file?
>> Documentation
>> (http://wiki.codemongers.com/NginxHttpLogModule#access_log) show only
>> one way (file).
>> Now we use 'access_log /dev/stdout' in configuration and run nginx via
>> 'nginx | program' - but it is not elegant.
>
> No, nginx does not support logging to pipe or syslog because of perfomance
> issues. Workarounds are /dev/stdout and mkfifo (but they are slow).
http://blog.pjkh.com/articles/2007/03/15/nginx-and-cronolog
But be sure to read the UPDATE at the bottom...
-philip
More information about the nginx
mailing list