Welcome! Log In Create A New Profile

Advanced

Re: pipe logfiles to perl script

Mirosław Jaworski
August 31, 2009 09:45AM
On Mon, 2009-08-31 at 15:07 +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?

You can have multiple logs with nginx. Since logs are useful you may
want to keep present configuration intact. Add another nginx logfile
dedicated for your script usage and log there exactly what you script
wants. Make it a a FIFO ( man mknod ) and read it from your script.

--
Miros
Subject Author Posted

pipe logfiles to perl script

Juergen Gotteswinter August 31, 2009 09:07AM

Re: pipe logfiles to perl script

Mirosław Jaworski August 31, 2009 09:45AM

Re: pipe logfiles to perl script

Igor Sysoev August 31, 2009 10:29AM

Re: pipe logfiles to perl script

Igor Sysoev August 31, 2009 09:45AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 162
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready