Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!
Moderator: General Moderators
-
Todd_Z
- Forum Regular
- Posts: 708
- Joined: Thu Nov 25, 2004 9:53 pm
- Location: U Michigan
Post
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?
-
shoebappa
- Forum Contributor
- Posts: 158
- Joined: Mon Jul 11, 2005 9:14 pm
- Location: Norfolk, VA
Post
by shoebappa »
-
Todd_Z
- Forum Regular
- Posts: 708
- Joined: Thu Nov 25, 2004 9:53 pm
- Location: U Michigan
Post
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.