This reference includes examples for syntax information for the log-trace command.
Command | Description | Usage | Examples |
---|---|---|---|
log-trace | Displays a list of all log files and also component-specific logs that help during debugging. |
log-trace [-h] {list,grep,follow,display} |
|
Syntax
Flag | Description |
---|---|
list | Lists all log files that can be displayed and also lists the component-specific logs. Example: log-trace list |
follow | Usage: log-trace [-h] follow <file name> Example: log-trace follow /var/log/arkin/arkin_cli_install.log |
grep | Usage: usage: log-trace grep [-h] pattern filename Example: log-trace grep "ERROR" /var/log/arkin/arkin_cli_install.log |
display | Usage: usage: log-trace display [-h] filename numlines Example: log-trace display /var/log/arkin/arkin_cli_install.log 20 (to display last 20 lines) |