Results 1 to 2 of 2
Hi All,
I have configured to log procmail activity in /var/log/ directory in my mail server by putting entry after the certain jobs as
Code:
LOGFILE="/var/log/procmail.log"
.
I have noticed ...
- 02-12-2009 #1Just Joined!
- Join Date
- Jul 2006
- Posts
- 8
log file size and rotate control
Hi All,
I have configured to log procmail activity in /var/log/ directory in my mail server by putting entry after the certain jobs as
.Code:LOGFILE="/var/log/procmail.log"
I have noticed that it wont rotate and keep growing larger and larger (now 1.4Mb).
How can I configure it to rotate in either every 300K or day by day basis.
I am using CentOS 5.2.
My /etc/syslog.conf file have following entries.
Pls suggest any method.Code:*.info;mail.none;authpriv.none;cron.none /var/log/messages # The authpriv file has restricted access. authpriv.* /var/log/secure # Log all the mail messages in one place. mail.* -/var/log/maillog # Log cron stuff cron.* /var/log/cron # Everybody gets emergency messages *.emerg * # Save news errors of level crit and higher in a special file. uucp,news.crit /var/log/spooler # Save boot messages also to boot.log local7.* /var/log/boot.log
- 02-12-2009 #2
Look at your /etc/logrotate.conf file.


Reply With Quote