Unfortunately, it's more complex than that... check out this list:
> ls -lt nes*
-rw-r--r-- 1 root wheel 35846 Aug 20 10:19 nes.com-access.log.
2008-08-20-12_40_09
-rw-r--r-- 1 root wheel 10117 Aug 20 10:01 nes.com-access.log.
2008-08-20-13_56_42
-rw-r--r-- 1 root wheel 284 Aug 20 08:37 nes.com-access.log.
2008-08-20-12_36_56
-rw-r--r-- 1 root wheel 204 Aug 20 08:34 nes.com-access.log.
2008-08-20-12_34_25
-rw-r--r-- 1 root wheel 181 Aug 20 08:31 nes.com-access.log.
2008-08-20-12_31_35
-rw-r--r-- 1 root wheel 181 Aug 20 08:29 nes.com-access.log.
2008-08-20-12_28_44
-rw-r--r-- 1 root wheel 204 Aug 20 08:26 nes.com-access.log.
2008-08-20-12_26_15
-rw-r--r-- 1 root wheel 195 Aug 20 08:24 nes.com-access.log.
2008-08-20-12_24_24
-rw-r--r-- 1 root wheel 204 Aug 20 08:21 nes.com-access.log.
2008-08-20-12_20_58
-rw-r--r-- 1 root wheel 5147 Aug 20 08:19 nes.com-access.log.
2008-08-20-12_19_25
Ah... I think I figured this out...
Of course, I had to change a bunch of apache config files to switch
from normal log files to piping logs through rotatelogs.
I tested each config change after making it, to make sure I didn't
mess something up. Of course I had to restart Apache each time I made
a change.
Here's the key: Apache creates a new access log for every site each
time it restarts.
So the list above reflects how fast it took me to update a config
file and restart apache, not anything that rotate logs was doing.
That makes sense, so I guess I can live with the 'makes new log file
on restart' quirk.
Thanks for the help!
-- John
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"