[thelist] monthly logs linux/apache

Means, Eric D eric.d.means at boeing.com
Tue Apr 9 15:26:00 CDT 2002


If you know when the logs are rotated, you could create a cron job ('man
crontab') that copies the current log file to logfile.yyyy.mm.dd (and even
tarballs it, if you like) just before it would be rotated.  Failing that you
could ask your hosts if log rotation is available.

-----Original Message-----
From: John Corry [mailto:webshot at members.evolt.org]
Sent: Tuesday, April 09, 2002 1:55 PM
To: thelist at lists.evolt.org
Subject: [thelist] monthly logs linux/apache


I have sites hosted at he.net on (I believe) linux servers running apache.
The log (/home/username/logs/access_log) is overwritten every month...thats
a bummer. Is there some way I can make the server create a new log file with
month and year appended to its name every month?

:)
John

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !



More information about the thelist mailing list