Mark Quitoriano wrote:
how do i prevent the logfiles from getting 2GB of file. what should i
set in
logrotate?
How often do you rotate the logs today?
Maybe you can do it more often, change "monthly" to
"weekly" in /etc/logrotate.conf
man logrotate will tell you how to rotate based on
size. If the log file gets to 2G in one day you might
need to move the file logrotate from /etc/cron.daily
to /etc/cron.hourly
Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@xxxxxx Homepage: http://www.crc.dk
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos