[mythtv-users] Changing backend loglevel and verbosity

Craig Treleaven ctreleaven at cogeco.ca
Sun Sep 9 14:53:16 UTC 2012


I wanteded to change the logging of the running backend to try to 
track down a UPNP issue.  It seems that I can use either 
--setloglevel OR --setverbose, but when I try to use both I get the 
following message:

>$ sudo mythbackend --setloglevel debug --setverbose none,upnp
>ERROR: --setloglevel requires that none of the following be defined
>  --printsched --testsched --resched --scanvideos --event 
>--systemevent --clearcache --printexpire --setverbose
>mythbackend version: fixes/0.25 [v0.25.2-46cab935-MacPorts] www.mythtv.org
>Option:      --setloglevel
>Type:        QString
>Description: Change logging level of the existing master backend.
>Prevents the use of:
>  --printsched --testsched --resched --scanvideos --event 
>--systemevent --clearcache --printexpire --setverbose

If I do the actions sequentially, --setloglevel resets the verbose 
level back to info and --setverbose resets the loglevel back to 
general.  Kind of defeats my objective!

Am I doing something wrong?  Obviously, I can work around this by 
stopping the backend and then restarting with the desired --loglevel 
and --verbose.

FYI, this is the MacPorts package on OS X but hopefully that doesn't matter.

(Yes, my backend runs as root; yes, I know that's not the greatest. 
If I could make it work as another user, I would.)

More information about the mythtv-users mailing list