[mythtv-users] Logging Best Practices?

Jean-Yves Avenard jyavenard at gmail.com
Sat Jul 19 14:31:36 UTC 2014


On 19 July 2014 23:05, Rich Freeman <r-mythtv at thefreemanclan.net> wrote:

> What would be the best default, especially considering things like:
> 1.  Console logging is apparently not desirable for bug reports.
> 2.  Logging without logserver apparently isn't logrotate-friendly.

and why not ?

if you build mythtv with --disable-mythlogserver or run standard but
with --nologserver

it is functionally identical to using mythlogserver, it's just how the
logs are handled internally that changes. From the user point of view
it makes no difference.

myth doesn't do any rotation, that's up to syslogd or other utilities to do so

> 3.  Users could be using systemd, or not (ie consider the journal, and
> minimize the need for shell scripting when launching myth programs).

whatever you were doing with mythtv configured to use mythlogserver,
you can do *exactly* the same as myth configured without

> What is everybody else doing?
ubuntu run mythtv configure without mythlogserver and uses syslogd
like most tools out there.

run the various myth commands with --syslog blah

where blah is where you want to log

it's all there:

http://www.mythtv.org/wiki/Logging
JY


More information about the mythtv-users mailing list