Skip to content

hubcli linksession logs

Downloads the logs for a specified link session.

The command has the following format:

hubcli linksession logs [flags] session-ID

flags
One or more optional flags that provide additional control over execution of the command.
session-ID
The session identifier for which you want logs returned.

The following flags are available:

-c string or --connection string
Specifies the name of the connection to use. If you do not specify this option, then the default connection is used. If there is no default connection, then you must specify a connection. The first connection created for the Altair SLC Hub instance is set by default as the default Hub instance, but a different default connection can be set using the hubcli connection use command.
--debug
Enables debug logging.
-h or --help
Returns help information for this command.
-o dir or --outputDir dir
Specifies the directory to which the logs are downloaded. If this is not specified, the default directory ./connection-name-session-id is used, where connection-name is the connection name specified by -c or the default, and the session-id is the session identifier.

Note: ls is an alias of list.