[mythtv-users] Logging user jobs

Bill Meek keemllib at gmail.com
Mon Apr 23 18:06:47 UTC 2012


On 04/23/2012 06:31 AM, Paul Gardiner wrote:
> How does logging for user jobs work in 0.25. In 0.24, the output
> of user jobs appeared in the main mythbackend logs. I've just
> tried one of my user jobs under 0.25 and it failed (which is
> certainly my fault), but I'm seeing no logging.
>
> I'd guess that each job is now responsible for its own logging.
> Is that right? My job calls mythtranscode. Is there anything
> special I need to do for that?

Hi;

Clearly laid out in:http://www.mythtv.org/wiki/User_Jobs#User_Job_arguments,
as of a few minutes ago. ;)

See: http://code.mythtv.org/trac/changeset/6044b027

Actually, I don't have any user jobs so if you'd like to test
this you could add %VERBOSEMODE% to your User Job in mythtv-
setup and modify your mythtranscode script.

Then, the logging options used at backend start time will
get passed to your User Job and mythtranscode will log the
same way (in /var/log/mythtv/mythanscode.20120423.....log
if you set --logpath for example.)

-- 
Bill


More information about the mythtv-users mailing list