hvrlogview
Usage
hvrlogview [-Rurl] -C chn:control_id hub
hvrlogview [-Rurl] -E event_id hub
Description
Command hvrlogview allows to view log files in the HVR_CONFIG/logs/ and HVR_CONFIG/hubs/hub/logs/ directories.
In the User Interface, this option corresponds to viewing logs.
Options
This section describes the options available for command hvrlogview.
Parameter | Description |
---|---|
-Ccontrol_id | Show the log file of a job from the moment the control |
-Eevent_id | Show the log file of a job while it is processing a specific event |
-Rurl | Remote hub server. Access the hub server running on a remote machine, via the REST interface. This option is required for remote CLI access. When using this option, command hvrlogin should be run first, for authentication. |
Examples
This section provides examples of using the hvrlogview command.
Example 1. Show log file based on the control ID
The following command instructs to show the log file of a job from the moment the control ID (5fb500ea_2e772_255050) is sent until it is expired.
hvrlogview -C mychannel:5fb500ea_2e772_255050 myhub
Example 2. Show log file based on the control ID
The following command instructs to show the log file while it is processing the event (2020-11-17T23:00:00.000Z).
hvrlogview -E 2020-11-17T23:00:00.000Z myhub