[mythtv] Rotating mythbackend.log file

Brian May bam at snoopy.apana.org.au
Sat Apr 3 22:50:32 EST 2004


>>>>> "Simon" == Simon Wilkinson <simon at sxw.org.uk> writes:

    Simon> David Hampton wrote:
    >> On Sat, 2004-04-03 at 07:18, Jeff wrote:
    >>> Would it make any sense to add code to Myth to automatically
    >>> roll the log file once/day?
    >> No, that's reinventing the wheel.  IMHO the right solution is
    >> to emulate syslog.

    Simon> Better yet, just use the 'copytruncate' option with
    Simon> logrotate.

That sounds like an ugly hack to me which could cause loss of log file
entries.
-- 
Brian May <bam at snoopy.apana.org.au>


More information about the mythtv-dev mailing list