HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   fail2ban.filter : INFO Log rotation detected for /var/log/mail.log (http://www.howtoforge.com/forums/showthread.php?t=53425)

dynamind 17th July 2011 10:17

fail2ban.filter : INFO Log rotation detected for /var/log/mail.log
 
Hello,

in the backend the fail2ban log shows:

2011-07-17 07:55:51,688 fail2ban.server : INFO Changed logging target to /var/log/fail2ban.log for Fail2ban v0.8.4-SVN
2011-07-17 07:55:53,674 fail2ban.filter : INFO Log rotation detected for /var/log/syslog
2011-07-17 07:55:54,502 fail2ban.filter : INFO Log rotation detected for /var/log/mail.log
2011-07-17 07:55:54,509 fail2ban.filter : INFO Log rotation detected for /var/log/mail.log
2011-07-17 07:55:54,525 fail2ban.filter : INFO Log rotation detected for /var/log/mail.log
2011-07-17 07:55:54,525 fail2ban.filter : INFO Log rotation detected for /var/log/mail.log
2011-07-17 07:55:54,526 fail2ban.filter : INFO Log rotation detected for /var/log/mail.log
2011-07-17 07:55:54,681 fail2ban.filter : INFO Log rotation detected for /var/log/auth.log
2011-07-17 07:56:01,688 fail2ban.filter : INFO Log rotation detected for /var/log/auth.log
2011-07-17 08:00:02,760 fail2ban.filter : INFO Log rotation detected for /var/log/mail.log
2011-07-17 08:00:02,761 fail2ban.filter : INFO Log rotation detected for /var/log/mail.log
2011-07-17 08:00:02,778 fail2ban.filter : INFO Log rotation detected for /var/log/mail.log
2011-07-17 08:00:02,778 fail2ban.filter : INFO Log rotation detected for /var/log/mail.log
2011-07-17 08:00:02,779 fail2ban.filter : INFO Log rotation detected for /var/log/mail.log

what does it mean?

falko 18th July 2011 09:53

A log file grows without bound unless action is taken and this can cause problems. A solution to this generic problem of log file growth is log rotation. This involves the regular (nightly or weekly, typically) moving of an existing log file to some other file name and starting fresh with an empty log file. After a period the old log files get thrown away.

See also http://linuxcommand.org/man_pages/logrotate8.html


All times are GMT +2. The time now is 11:56.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.