Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Piped Logs in nginx

$
0
0
Hi everyone,

in Apache, there is a "Piped Logs" feature [1], which makes it possible to write error and access log files through a pipe to another process, rather than directly to a file; it's configured like this:

CustomLog "|/path/to/script param1" common

Is something like that possible with nginx, too?
If so, how? I could not find a mature technique to do this.

[1] http://httpd.apache.org/docs/current/logs.html#piped

Viewing all articles
Browse latest Browse all 4759

Trending Articles