Opened 12 years ago

Closed 12 years ago

#73 closed enhancement (wontfix)

Support logging to external process (pipe) in HttpLogModule

Reported by: www.google.com/accounts/o8/id?id=AItOawnfeDbQtKE5OrI8oQIGnFZEaYvmJlekyYw Owned by: somebody
Priority: trivial Milestone:
Component: nginx-module Version: 1.0.x
Keywords: Cc:
uname -a:
nginx -V: not applicable

Description

I just searched the trac and feature request page (http://wiki.nginx.org/FeatureRequests) but did not found it.

It will be very nice to support logging to external process in HttpLogModule.

access_log  "| /some/external/logging/process"

And if the process is dead, restart it if necessary.

Change History (1)

comment:1 by Maxim Dounin, 12 years ago

Resolution: wontfix
Status: newclosed

No, thanks. If you really want logging to an external process - try using mkfifo(1), but please keep in mind that this will lead to service interruption if your logging process won't be able to cope with load. I would recommend logging to a normal file and using "tail -F /path/to/log | script" instead if you need some log processing.

Note: See TracTickets for help on using tickets.