Just noticed that the /var/log/mythtv/mythbackend.log just continues
growing forever (so does /var/log/mythtfilldatabase but it seems to
collect much less information). Even worse, since mythbackend.log is
'hidden' in the subdirectory /var/log/mythtv, casual users may not
notice how big the log file is getting...

Would it be reasonable to add a logrotate facility for the mythtv
rpms?

Something like the following would work:

/etc/logrotate.d/mythtv

                # Logrotate file for mythtv log files
                
                /var/log/mythfilldatabase.log {
                    compress                    
                    missingok
                    notifempty
                    monthly
                        rotate 2
                    copytruncate
                }

                /var/log/myth/mythbackend.log {
                    compress                    
                    missingok
                    notifempty
                    weekly
                        rotate 4
                    copytruncate
                }

_______________________________________________
atrpms-users mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-users

Reply via email to