Crates.io | krossbar-log-control |
lib.rs | krossbar-log-control |
version | 0.5.0 |
source | src |
created_at | 2024-06-21 12:00:54.089742 |
updated_at | 2024-06-21 12:00:54.089742 |
description | Krossbar log control tool |
homepage | https://krossbar.rs |
repository | https://github.com/krossbar-platform/krossbar-log |
max_upload_size | |
id | 1279466 |
size | 44,108 |
Krossbar log control tool
The tool allows listing connected clients, and change their log level interactively.
Note: Log level for a particular service changes until restarted. Use logger internal mechanism to persistently change log level.
krossbar-log-control [OPTIONS](https://docs.rs/krossbar-log-control/latest/krossbar_log_control/) <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
-l, --log-level <LOG_LEVEL> Self log level: OFF, ERROR, WARN, INFO, DEBUG, TRACE [default:
DEBUG]
-V, --version Print version information
SUBCOMMANDS:
help Print this message or the help of the given subcommand(s)
list List connected services
set-log-level Change service log level
List connected services:
USAGE:
krossbar-log-control list
OPTIONS:
-h, --help Print help information
Change service log level:
USAGE:
krossbar-log-control set-log-level --service-name <SERVICE_NAME> --level <LEVEL>
OPTIONS:
-h, --help Print help information
-l, --level <LEVEL> Log level: OFF, ERROR, WARN, INFO, DEBUG, TRACE
-s, --service-name <SERVICE_NAME> Log files location