[mythtv-users] logpath and having pids in log file names?
Jim Stichnoth
stichnot at gmail.com
Tue Mar 13 14:00:48 UTC 2012
On Tue, Mar 13, 2012 at 6:44 AM, Brian J. Murrell <brian at interlinx.bc.ca> wrote:
> So, it seems on master that there is now a "--logpath" switch instead of
> the "--logfile" switch. And this ends up creating log file names with
> dates and pids in them -- completely unpredictable.
>
> So no longer is one able to simply "tail -f
> /var/log/mythtv/mythbackend.log" and always be getting the latest log,
> right? This really sucks for people who have persistent log file
> monitors that depend on a consistent filename.
Have you tried using the syslog facility?
http://www.mythtv.org/wiki/Rsyslog_Configuration
This lets you continue using a single file. The only drawback I found
is that you don't get microsecond timestamp resolution, but you could
use --logpath to an alternate directory if you occasionally need that
resolution.
Jim
More information about the mythtv-users
mailing list