[mythtv-users] Gentoo 0.28 ebuild

Bill Meek keemllib at gmail.com
Wed Apr 20 03:43:26 UTC 2016


On 04/19/2016 01:41 PM, Hika van den Hoven wrote:
> Hoi Bill,
>
> Tuesday, April 19, 2016, 7:59:54 PM, you wrote:
>
>> On 04/19/2016 11:28 AM, Rich Freeman wrote:
>>> On Tue, Apr 19, 2016 at 12:08 PM, Stuart Auchterlonie
>>> <stuarta at squashedfrog.net> wrote:
>>>>
>>>> All the original logging methods still exist.
>>>> ie. syslog, to file(s)
>>>>
>>>> The only real logging change is disabling the logserver
>>>> by default.
>>>>
>>>> Personally i always use logging to files, because i'm running
>>>> both 0.28 and master in parallel to aid development.
>>>>
>>>
>>> Thanks - just to clarify.  Does logging to file work without logserver
>>> enabled at build time?  If the backend itself and its children can log
>>> directly to file/syslog that is fine by me, and seems similar to how
>>> things used to work before the logserver came along.
>
>> Yes. mythAnyprogram without mythlogserver running will log as directed
>> by its --logpath or --syslog switches.
>
> That's not exactly what the wiki says. Without mythlogserver compiled
> in YES. But the wiki says that when compiled in:
>   "In 0.27, the --nologserver command line option has been added and if
>   used, mythlogserver will not be started. Output will only go to the
>   console (file, db and syslog are disabled.) Naturally, the --quiet
>   option shouldn't be used if logging is desired (the same is probably
>   true for --daemon, but that needs testing.)".
> It does not talk about 0.28

Right, I was answering the "work without logserver enabled" question
and didn't spell that out.

Personally, I disagree with putting the output of mythAnyprogram --help
in the Wiki because it's available and accurate with --help and less
likely to become outdated. But the Wiki is out of date. In 0.28, the command
line option is --disable-mythlogserver iff the project was *built* with
--enable-mythlogserver. If it isn't enabled at build time (the default)
then mythAnyprogram --help doesn't even display the --disable-mythlogserver
switch and its an error to use it.

That change is already in the 0.28 release notes.

Questions for Hika, are you currently running on 0.27 using mythlogserver?

You can tell by looking at the backend log for a line similar to this:

     ... Logger logging.cpp:518 (launchLogServer) - Starting mythlogserver

And, if you're using it, then what is it doing that you require?

-- 
Bill


More information about the mythtv-users mailing list