[ATrpms-users] Logrotate for mythfilldatabase.log
Steve Cliffe
steve at sjcnet.id.au
Thu Jan 7 22:23:42 CET 2010
I'm using this:
/var/log/mythtv/mythbackend.log /var/log/mythtv/mythfilldatabase {
copytruncate
daily
size 10M
missingok
rotate 3
compress
notifempty
postrotate
kill -HUP `cat /var/run/mythbackend.pid`
endscript
}
Steve.
On 8/01/2010 3:51 AM, Jeffrey J. Kosowsky wrote:
> File continues to grow and grow...
>
> Would it be possible to add an entry in /etc/logrotate.d to rotate the
> logs or at minimum truncate their length... Presumably one could
> cut-and-paste from other examples.
>
> Thanks
>
> _______________________________________________
> atrpms-users mailing list
> atrpms-users at atrpms.net
> http://lists.atrpms.net/mailman/listinfo/atrpms-users
More information about the atrpms-users
mailing list