[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

log rotation

Mike Daigle mdaigle@yorku.ca
Tue, 14 Feb 2006 09:58:38 -0800 (PST)


Another setup problem. Is this a bug?

I have setup logfile rotation with logfilemax 3k;
I was looking for logs from the console og2. I see
# ls -al
total 166
drwxr-xr-x 2 root sys 5632 Feb 14 10:43 .
drwxr-xr-x 31 root sys 512 Nov 17 13:40 ..
-rw-r--r-- 1 root other 552 Feb 14 10:45 celes.ccs
-rw-r--r-- 1 root other 70278 Feb 1 14:06 celes.ccs-20060201-190639
-rw-r--r-- 1 root other 1822 Feb 14 11:34 og2
-rw-r--r-- 1 root other 3225 Feb 14 10:43 og2-20060214-154300
# date
Tue Feb 14 12:53:47 EST 2006
#


Note there is a file called og2-20060214-154300 but the date shows we have not yet reached the timestamp when that log says it was created. Looking at the contents of this file it looks like the timestamp/filename should be
og2-20060214-104300


Help?

--
Mike Daigle                                          \ |       |
Network Operations Project Supervisor                 \| /\ |~ |/
Computing and Network Services                         | \/ |  |\
Room 011 Steacie Science Library                       UNIVERSITY
Email: mdaigle@yorku.ca                    4700 Keele St. Toronto
Phone: 736-2100 ext.22730               Ontario, Canada   M3J 1P3

For thousands of years mankind lived just like the animals;
Then something happened that unleashed the power of his imagination;
He learned to talk.
	-- Pink Floyd