logging into script

任晓磊 julyclyde at gmail.com
Thu Jan 14 08:14:26 MSK 2010


Maybe you can use a named pipe instead?
I don't know whether the "writer" would be blocked if there is no reader.

2010/1/14 Dennis J. <dennisml at conversis.de>:
> Hi,
> Is there a nginx equivalent to apaches CustomLog directive with the "|"
> prefix so it logs into stdin of another program/script? I need to do
> real-time processing of the access log data and I'm wondering how I can
> accomplish this once I switch to nginx.
>
> Regards,
>  Dennis
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



-- 
Ren Xiaolei



More information about the nginx mailing list