Manage traces using the CLI

Manage trace settings using the CLI commands:

  • Initiate trace collection

  • Stop trace collection

  • View traces configuration status

  • Modify traces retention settings

  • Adjust traces verbosity level to high or low

  • Manage the traces freeze period

Initiate trace collection

Command: weka debug traces start

Stop trace collection

Command: weka debug traces stop

View traces configuration status

Command: weka debug traces status

Modify traces retention settings

Command: weka debug traces retention set [--server-max server-max] [--client-max client-max] [--server-ensure-free server-ensure-free] [--client-ensure-free client-ensure-free]

Parameters

Restore default traces retention values

Command: weka debug traces retention restore-default

Adjust traces verbosity level

Command: weka debug traces level set <level>

Parameters

Manage the traces freeze period

View the frozen trace period

Command: weka debug traces freeze show

Set the freeze period

Command: weka debug traces freeze set [--start-time start-time] [--end-time end-time] [--retention retention]

Parameters

Reset the traces freeze period and delete the existing frozen traces

Command: weka debug traces freeze reset