Page 1 of 1

Unable to locate Activity Log

Posted: Sat Feb 22, 2020 6:34 am
by catherineva11e@yahoo.com
Unable to locate Activity Log

When I run...

Code: Select all

HandBrakeCLI --queue-import-file queue.json
Everything runs fine but I'm unable to locate the Activity Log.

I use the GUI, on W10, to create & export the queue file (CLI only). Run the command in a terminal, it displays it's progress and completes. Great, but I need the log files. And I don't see how to set the Activity Log directory from the CLI.

Mind you the encoding is done on FreeBSD 11.2u7 (not W10).

I've looked in /var
and yes I've looked at the documentation

HandBrakeCLI version 1.3.0
FreeBSD 11.2u7

Re: Unable to locate Activity Log

Posted: Sat Feb 22, 2020 10:27 am
by rollin_eng

Re: Unable to locate Activity Log

Posted: Sat Feb 22, 2020 11:02 am
by catherineva11e@yahoo.com
As I stated...
"yes I've looked at the documentation"
The documentation doesn't reference FreeBSD operating systems, the paths in the documentation do not exist on FreeBSD.

Re: Unable to locate Activity Log

Posted: Sat Feb 22, 2020 11:52 am
by rollin_eng
Activity Logs on the command line

HandBrake’s command line interface outputs to the standard streams stdout and stderr, with encode progress information routed to the former and log messages routed to the latter.

To capture HandBrake’s log messages to a file, simply redirect stderr:

HandBrakeCLI ... 2> my-activity-log.txt

Re: Unable to locate Activity Log

Posted: Sun Mar 01, 2020 7:13 am
by catherineva11e@yahoo.com
rollin_eng wrote: Sat Feb 22, 2020 11:52 am Activity Logs on the command line

HandBrake’s command line interface outputs to the standard streams stdout and stderr, with encode progress information routed to the former and log messages routed to the latter.

To capture HandBrake’s log messages to a file, simply redirect stderr:

HandBrakeCLI ... 2> my-activity-log.txt
Thanks so much!
It didn't work for me initially but I got it to run under sh, it's defaulting to csh. Actually I did get it to work under csh but the syntax isn't as simple.

Re: Unable to locate Activity Log

Posted: Sun Mar 01, 2020 6:47 pm
by rollin_eng
catherineva11e@yahoo.com wrote: Sat Feb 22, 2020 11:02 am As I stated...
"yes I've looked at the documentation"
:roll: :wink: :D