[mythtv-users] .25 logging and external commands

Raymond Wagner raymond at wagnerrp.com
Sat Jun 2 18:27:55 UTC 2012


On 6/2/2012 14:03, Dave Badia wrote:
> Hi -
> With the logging re-write of .25, where does output from external
> commands (those triggered by system events for example) get logged?  I
> can't seem to find the output in the normal logs and I don't see any
> logfiles (I'm passing --logpath /var/log/mythtv)  that looks specific to
> external commands.

At current, anything stdout/err from an external system call gets 
shunted to /dev/null.  It is not captured.  Anything that you need 
logging for, you can use %VERBOSEMODE% tag to pass the logging arguments 
through, and will need to handle logging in the script itself. If using 
Python, the bindings will automatically handle this for any logs made 
through its logging interface.


More information about the mythtv-users mailing list