pipe logfiles to perl script

Igor Sysoev is at rambler-co.ru
Mon Aug 31 17:45:02 MSD 2009

On Mon, Aug 31, 2009 at 03:07:52PM +0200, Juergen Gotteswinter wrote:

> Hello Folks,
> i am badly looking for a solution to get nginx pipe his logfiles ... 
> something like cronolog or in my case a special perl script. are there 
> anyy solutions or patches around?

No, nginx does not support pipe logging.
The following contruction is almost the same in terms of CPU waste:

tail -F /path/to/access_log | /path/to/perl/script

Igor Sysoev

More information about the nginx mailing list