Welcome! Log In Create A New Profile

Advanced

Piped Logs in nginx

Posted by Judge 
Piped Logs in nginx
April 12, 2017 08:22AM
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
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 182
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