Hello, i am trying set up my server so i can manange my logs.
I know that with standard install website logs are rotated at end of month, but i also have some domians setup with logs in home/logs as per:
http://i4net.tv/marticle/get.php?action=getarticle&articleid=22
What i would like to do is tar up these logs at the end of each month and clear logs ready for new month.
Also how do other manange system logs?
/usr/local/apache/logs/error_log
/usr/local/apache/logs/access_log
/var/log/
/var/spool/exim/input/
/var/spool/exim/msglog/
are these rotated? is it possible to get important logs tarred and mailed on regular basis?
cheers
I know that with standard install website logs are rotated at end of month, but i also have some domians setup with logs in home/logs as per:
http://i4net.tv/marticle/get.php?action=getarticle&articleid=22
What i would like to do is tar up these logs at the end of each month and clear logs ready for new month.
Also how do other manange system logs?
/usr/local/apache/logs/error_log
/usr/local/apache/logs/access_log
/var/log/
/var/spool/exim/input/
/var/spool/exim/msglog/
are these rotated? is it possible to get important logs tarred and mailed on regular basis?
cheers