When you rotate on time interval, rotatelogs names the file not after the
time it logged the first msg but from a normalized start of an interval. 24
hour intervals start at midnight
On Sep 30, 2011 11:20 PM, "Albert Lunde" wrote:
>
> I'm trying to set up piped access and error logs, with "rotate
On 01.10.2011 05:20, Albert Lunde wrote:
> The date substitutions are working, but the time of day characters come
> out as zeros. An example, and some system information, are quoted below.
> ErrorLog "|/usr/local/sbin/rotatelogs -f
> /var/log/httpd/error_log_chnuinfow3.%Y-%m-%d-%H_%M_%S.txt 86400
I'm trying to set up piped access and error logs, with "rotatelogs", as
I'm porting the configuration from Solaris box to a small cluster of
Linux VMs running RHEL 5.
We're trying to use file name patterns like:
error_log_chnuinfow3.%Y-%m-%d-%H_%M_%S.txt
The date substitutions are working, bu