Skip to content

loglevel Command

Specify the Log Level for the current running enclave instance.

When the log level is specified this way, it will be reset on each Enclave restart to the value returned by the list-config command.

Usage

enclave loglevel [<verbosity>]
                 [--profile <VALUE>]
                 [--verbosity|-v <VALUE>]
                 [--list|-l]
                 [--reset|-r]

Parameters

Position Name Short Name Description
0 verbosity The verbosity to change the log level to.
profile Each Enclave requires a profile. A profile is the name of an Enclave network, and refers to a configuration file that contains settings and certificate of each Enclave network. Multiple Enclave instances can run simultaneously on a single system, each with its own profile, settings, network and connections.
verbosity v If specified, overrides the level of log verbosity defined in an Enclave Profile. 0 is the lowest level, no log output, and 5 is the highest which includes a hexadecimal dump of each packet passing through the fabric. Value range 0 to 5. If set to -1, the verbosity will be determined by the Profile configuration. (Use with caution)
list l List all available Log Levels.
reset r Reset the Log Level to that of the currently loaded profile.

verbosity Parameter (Position 0)

The verbosity to change the log level to.

Informational Name: verbosity
Position: 0
Required: No
Default value: None

profile Parameter

Each Enclave requires a profile. A profile is the name of an Enclave network, and refers to a configuration file that contains settings and certificate of each Enclave network. Multiple Enclave instances can run simultaneously on a single system, each with its own profile, settings, network and connections.

Name: profile
Position: Named parameter
Required: No
Default value: None

verbosity Parameter

If specified, overrides the level of log verbosity defined in an Enclave Profile. 0 is the lowest level, no log output, and 5 is the highest which includes a hexadecimal dump of each packet passing through the fabric. Value range 0 to 5. If set to -1, the verbosity will be determined by the Profile configuration. (Use with caution)

Name: verbosity
Short name: v
Position: Named parameter
Required: No
Default value: -1

list Parameter

List all available Log Levels.

Name: list
Short name: l
Position: None (Switch Parameter)
Required: No (Switch Parameter)
Default value: false

reset Parameter

Reset the Log Level to that of the currently loaded profile.

Name: reset
Short name: r
Position: None (Switch Parameter)
Required: No (Switch Parameter)
Default value: false

Documentation generated by MdDocs