redirect Apache logs to console stdout
Posted: 16. July 2009 05:14
I would like to disable Apache logging to files and redirect them to console stdout.
I've read the Apache documentation here:
http://httpd.apache.org/docs/1.3/logs.html#piped
It seems possible to redirect logs using pipes.
So i've modified "httpd.conf" like this:
Some messages are now printed to stdout, but not the full logs.
I've read the Apache documentation here:
http://httpd.apache.org/docs/1.3/logs.html#piped
It seems possible to redirect logs using pipes.
So i've modified "httpd.conf" like this:
- Code: Select all
...
ErrorLog |more
...
CustomLog |more common
...
Some messages are now printed to stdout, but not the full logs.