[mythtv-users] Mythbackend.log stops getting written to after
logrotate
Phill Edwards
philledwards at gmail.com
Mon Jun 27 11:24:09 UTC 2005
> > Does anyone know how to fix this? Mythbackend seems to be the only
> > service which this happens to where it can't write to the new log file
> > after logrotate. I know it's possible to stpo/restart the service as
> > part of logrotate but that would mess up the recording.
>
> Are you using the copytruncate option in the logrotate entry for mythtv?
No I haven't been so I will give that a go. Thanks for the suggestion.
My mythbackend file for logrotate now looks like this:
/var/log/mythtv/mythbackend.log {
notifempty
missingok
copytruncate
compress
compresscmd /usr/bin/bzip2
uncompresscmd /usr/bin/bunzip2
compressext .bz2
weekly
}
Does this look right?
Regards,
Phill
More information about the mythtv-users
mailing list