Page 1 of 1

Apache2 Access Logs

Posted: Sun Nov 06, 2005 11:57 am
by Todd_Z
Does anyone know how to use the date in the access log name? Basically I want an access file for every day... is this possible?

Posted: Sun Nov 06, 2005 2:08 pm
by shoebappa
http://httpd.apache.org/docs/2.0/progra ... elogs.html

There was a bug in this until 2.0.55...

Posted: Sun Nov 06, 2005 3:35 pm
by Todd_Z

Code: Select all

CustomLog "|/usr/local/sbin/rotatelogs /var/log/www/sub.domain.com:80-%Y-%m-%d 86400" combined
Thanks for the help.