I have searched all day for an answer to this. I issue this directive in httpd.conf:
CustomLog "|bin/rotatelogs logs/access_log.%Y-%m-%d 86400" common
This worked in 2.2. common is defined earlier in the file.
I keep getting this error when trying to start the service:
AH00104: unable to start piped log program 'bin/rotatelogs logs/access_log.%Y-%m-%d 86400': The parameter is incorrect.
Any help will be most appreciated! Thank you!
Ok, so I'm on Windows Server 2008. I had to add .exe to rotatelogs. Could have sworn I tried that before but I guess not. All set.
On Windows OS path to rotatelogs have to contains .exe file extension to not produce error "could not open reliable pipe to" in error log. Example : CustomLog "|bin/rotatelogs.exe logs/access 15M" common
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With