Unable to locate Activity Log

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
catherineva11e@yahoo.com
Posts: 3
Joined: Sat Feb 22, 2020 6:00 am

Unable to locate Activity Log

Post 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
rollin_eng
Veteran User
Posts: 4836
Joined: Wed May 04, 2011 11:06 pm

Re: Unable to locate Activity Log

Post by rollin_eng »

catherineva11e@yahoo.com
Posts: 3
Joined: Sat Feb 22, 2020 6:00 am

Re: Unable to locate Activity Log

Post 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.
rollin_eng
Veteran User
Posts: 4836
Joined: Wed May 04, 2011 11:06 pm

Re: Unable to locate Activity Log

Post 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
catherineva11e@yahoo.com
Posts: 3
Joined: Sat Feb 22, 2020 6:00 am

Re: Unable to locate Activity Log

Post 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.
rollin_eng
Veteran User
Posts: 4836
Joined: Wed May 04, 2011 11:06 pm

Re: Unable to locate Activity Log

Post 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
Post Reply