[mythtv-users] Multi-gigabyte log files from mythcommflag
Michael T. Dean
mtdean at thirdcontact.com
Tue Nov 12 13:39:42 UTC 2013
On 11/11/2013 05:41 PM, Paul Gardiner wrote:
> Intermittently, I'm seeing huge log files from mythcommflag. Here's
> an example log. It is repeats of the last line that cause the problem.
Yes, bad video will cause lots of messages from libav, and since we then
output those messages, there will be large log files.
If you have such bad video that you're getting multi-gigabyte
mythcommflag log files from each mythcommflag run (running with
standard, per-process logging), you'll just need to add in some log-file
cleanup (via cron job or even using a wrapper to mythcommflag that
removes the log file after completion) to work around the faulty video,
or filter the logging so that you don't write the messages that take up
the most space.
If you're using syslog, so that you can control the destination of log
messages, and you just have a multi-gigabyte mythcommflag log file
because you haven't truncated/rotated the logs, you need to set up log
rotation.
http://www.mythtv.org/wiki/Logging
You may also be able to just turn off MHEG capture, if you're not using
MHEG on your recordings.
Mike
More information about the mythtv-users
mailing list