[mythtv] mythcommflag logging

John P Poet jppoet at gmail.com
Thu Mar 30 21:10:00 UTC 2006


On 3/30/06, Chris Pinkham <cpinkham at bc2va.org> wrote:
> * On Thu Mar 30, 2006 at 11:10:43AM -0700, John P Poet wrote:
> > How hard would it be to change mythcommflag to use a separate log
> > mechanism from mythbackend?
>
> With SVN, you could make a custom command for the flagger and have
> your command redirect standard out and error to a different logfile.
>
> In SVN's backend setup, there are now "Transcoder command" and "Commercial
> Flagger command" settings.  If you enter the following for the flagger
> command, it should run the flagger as normal but log to a new logfile:
>
> mythcommflag -j %JOBID% -V %VERBOSELEVEL% > /var/log/mythcommflag.log 2>&1
>
> I didn't add these custom commands with logging in mind, but it should
> work fine.
>
> --
> Chris

I will give it a try when I get home tonight.

Thanks,

John


More information about the mythtv-dev mailing list