How to change Debian log rotation of syslog and daemon.log
Hi. I am using webalizer to generate these terrific charts of webpage hits, etc, but I need to make a change to the number of days my log files are being rotated.
Right now, syslog and daemon.log are both rotated each day for 7 days. So I end up with a syslog, syslog.0, syslog.1, ... syslog.6
My server has tons of room, and I want to change it so that I rotate these log files everyday but keeps a whole year of them. An alternative would be to rotate these logs weekly and keep 52 weeks.
I can see how my Shorewall and other software is configured for thier log files, using /etc/logrotate.d and the daily cron system. However, I can't figure out how syslog and daemon.log are configured and rotated.
Any ideas? Thanks!