This is a new bug for 2.0.44 (it was working in 2.0.43) If you attempt to pipe access log into rotatelogs.exe you will get NO log at all. It will however work with the error log. More information: In 2.0.43 there were two rotatelogs.exe processes running (one for each apache I presume) In 2.0.44 when apache is starting there are briefly two rotatelogs.exe processes but then one terminates. There is no error generated in the errorlog (even used debug level) or the system log. Running Apache 2.0.44 on WinNT4 SP6.
Confirming. Several causes for this, mostly revolving around the otherchild logic (code that is *supposed* to make external processing more robust.) Hopefully a patch within a day, and this may get into 2.0.45 soon.
Look in Bug# 17055, a quick fix is to set loglevel to ABOVE warn, the app error will not happen.
I try to set log level to above warn, but this not resolve the problem. Indeed, LogLevel directive apply to error logs and this rotating problem occurs for all kind of logs, so this quick fixes can't work in this case. However, i look in Bug# 17055 and i agree with you when you show that readwrite.c is a source of problems.
Confirming. The bug happens with both standard rotatelogs.exe and a custom application I am using for the same job. Error log works, access log does not.
installed apache 2.0.45 and still can't use the rotatelogs program. the error reads: unable to start piped log program 'bin/rotatelogs logs/access_%Y_%b_%d.log 61': The system cannot find the path specified. Unable to open logs. Any ideas when it's going to be fixed. thanks,
This is working fine for me (2.0.45 on Win2000) Using following command: CustomLog "|c:/apache2/bin/rotatelogs.exe c:/apache2/logs/access.%Y-%m-%d 604800" combined
Thank you very much for the quick reply. The path that i am using has spaces in it: "C:/Program Files/Apache Group/Apache2/bin", and the spaces could be the problem; what can i do to overcome it. Thanks,
This work for me with Apache 2.0.45, W2k and spaces in the path. CustomLog "|\"C:/Program Files/Strategies/WebServer/apache/bin/cronolog.exe\" \"C:/Program Files/Strategies/WebServer/apache/logs/access.%Y-%m-%d.log\"" common
Seems, this one is fixed already.