[mythtv-users] Any way to set up a warning when logs get too big?

Boleslaw Ciesielski bolek-mythtv at curl.com
Wed Apr 29 12:46:24 UTC 2009


Ronald Frazier wrote:
>> Is there anyway to set up a warning when my log files start getting too big?
> 
> Logrotate is typically set to rotate out log files on a scheduled
> basis (daily, weekly, etc). However, you can also tell it to rotate
> out the logs when they exceed a certain size. What I don't know (since
> I've never used that option) is how quickly logrotate detects that it
> has exceeded size (I don't know if it checks daily, hourly, minutely,
> etc).

logrotate does not run continuously. You have to run it periodically 
from cron or something and it checks when you run it.

Bolek


More information about the mythtv-users mailing list