[Info-vax] Apache log rotation

Neil Rieck n.rieck at sympatico.ca
Thu Aug 9 21:08:47 EDT 2012


On Thursday, August 9, 2012 8:49:02 PM UTC-4, Neil Rieck wrote:
> According to the release notes for SWS-2.2
> 
> http://h71000.www7.hp.com/openvms/products/ips/apache/csws_relnotes_22.html
> 
> One of the bug fixes was:
> 
> QXCM1000968008: Fixed the issue of rotatelogs with error_log file.
> 
> ...so I'm assuming that "all" log rotation works. And yet when I place something like this:
> 
> CustomLog "|bin/rotatelogs -l logs/logfile.%Y-%m-%d 86400" common 
> 
> ...in httpd.conf my server will not start (error comes from a different line).
> 
> Has anyone else got this working in VMS?
> 
> NSR

Also tried a full path as recommended by some sites like so:

CustomLog "|bin/rotatelogs -l apache$common:[logs]logfile.%Y-%m-%d 86400" common 

Nice try but no cigar!

NSR
p.s. ROTATELOGS.EXE is present in APACHE$COMMON:[000000.BIN] 



More information about the Info-vax mailing list