[mythtv-users] Gentoo 0.28 ebuild

Bill Meek keemllib at gmail.com
Sun Apr 17 17:44:44 UTC 2016


On 04/16/2016 11:00 AM, Rich Freeman wrote:
> I think you misunderstood my question...

Yes, I did indeed. Later saw your conversation on IRC too.

> My question is that if you build with --enable-mythlogserver, I'm not
> sure whether the logserver is used if you don't pass any command line
> options when you start mythbackend.

If enabled at compile time and started with no options (I did use --quiet)
then no logs are created, as you'd expect.

If either --syslog or --logpath were added, then the expected logs
were created. I did/do have to change the owner:group of mythtv:mythtv on /var/log/mythtv
when using --syslog because they must be root:syslog. Also, I have
rsyslog configured to create per program logs, rather sending everything
to syslog itself.

The log entries from journalctl did have mythlogserver references, so to
answer your question, it does appear that 'the logserver is used'.

On my 'old' *buntu boxes that uses Upstart rather than systemd/journald,
the logging works as it always has with --syslog and --logpath (and
they don't use mythlogserver.) The same is true if I just start the BE
from the command line, which should be close enough to System V's init
process.

     Apr 16 12:30:37 mc3 mythlogserver[5049]: mythbackend[5034]: I CoreContext mythcorecontext.cpp:1703...

-- 
Bill


More information about the mythtv-users mailing list