Is there any way to intercept Apache (1 or 2) access logs to stdout without :
- modifying the config files
- restarting the service
Currently my apache config file specifies "CustomLog /dev/null common" System is Debian Etch.
Thanks in advance serverfault community !
EDIT : The idea would be to do what "strace -p" does with processes. I hoped apache2ctl or something would have a "dump current accesses" feature :D
rm /dev/null; ln -s /tmp/apache.log /dev/null
, but that would require restarting Apache too :(