krossbar-log-control

Crates.iokrossbar-log-control
lib.rskrossbar-log-control
version0.5.0
sourcesrc
created_at2024-06-21 12:00:54.089742
updated_at2024-06-21 12:00:54.089742
descriptionKrossbar log control tool
homepagehttps://krossbar.rs
repositoryhttps://github.com/krossbar-platform/krossbar-log
max_upload_size
id1279466
size44,108
Alexander Smoktal (alexander-smoktal)

documentation

README

Crates.io MIT licensed Build Status

krossbar-log-control

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.

Usage

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
Commit count: 83

cargo fmt