access_log
Igor Sysoev
is at rambler-co.ru
Tue Oct 16 18:50:42 MSD 2007
On Tue, Oct 16, 2007 at 01:26:31PM +0200, Bart?omiej Syryjczyk wrote:
> 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).
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list