Re: MythTV logging problem (a stupid mistake of mine?)

トップ ページ

このメッセージに返信
著者: Janusz S. Bien
日付:  
To: dmo-discussion
題目: Re: MythTV logging problem (a stupid mistake of mine?)
Quote/Cytat - Christian Marillat <marillat@???> (Tue 26 Jul 2016
11:04:18 AM CEST):

> On 26 juil. 2016 08:26, jsbien@??? (Janusz S. Bień) wrote:
>
> [...]
>
>> https://www.deb-multimedia.org/lurker/message/20160420.094033.aa9707a3.en.html
>>
>> I made two attempts to modify /etc/defaults/mythtv-backend:
>>
>> EXTRA_ARGS="--syslog --loglevel debug --verbose"
>>
>> and
>>
>> EXTRA_ARGS="--loglevel debug --verbose --logpath /var/log"
>>
>> I don't see any effect of these changes.
>
> Because you are missing some options :


Perhaps I misinterpreted the statement

Typically, the default value for --loglevel and --verbose are
appropriate for normal application execution.

on https://www.mythtv.org/wiki/Logging.

>
> From --syslog :
>
> ,----
> | --syslog                    Set the syslog logging facility.
> |                             Set to "none" to disable, defaults to none.
> `----

>
> then --syslog local6 should work if local6 isn't used by another service.
> See /etc/rsyslog.conf if local6 doesn't work.
>
> From --verbose :
>
> ,----
> | -v OR --verbose             Specify log filtering. Use '-v help'  
> for level info.
> `----

>
> --verbose <level info> is the right option.


Thanks, it helped.

When checking for local6 I noticed I still have
/etc/rsyslog.d/mythtv.conf from the old mythlogserver package. I think
the file is quite useful and perhaps it deserves moving to some other
package.
>
>
>> BTW, was is now the recommended way to stop/start/restart the backend?
>
> The backend need to be always restarted if you changes EXTRA_ARGS options.


That's obvious, the question is what is the best way to do it.

Thanks again.

Janusz

--
Prof. dr hab. Janusz S. Bień - Uniwersytet Warszawski (Katedra
Lingwistyki Formalnej)
Prof. Janusz S. Bień - University of Warsaw (Formal Linguistics Department)
jsbien@???, jsbien@???, http://fleksem.klf.uw.edu.pl/~jsbien/