4 releases

0.5.3 Jun 21, 2024
0.5.2 Jun 19, 2024
0.5.1 Jun 19, 2024
0.5.0 Jun 17, 2024

#596 in Development tools

MIT license

50KB
1K SLoC

Crates.io MIT licensed Build Status

krossbar-log-viewer

A tool to view Krossbar logs.

Although Krossbar logs are plain text files, the viewer sticks rotated log files allowing to watch whole log sequence, and highlights log messages section to simplify visual monitoring.

There're two modes: viewing ready logs; and interactive mode to see logs as they appear. The interactive mode can be enables using -f|--follow CLI param.

Usage

Usage: krossbar-log-viewer [OPTIONS]

Options:
-l, --log-level <LOG_LEVEL>        Log level: OFF, ERROR, WARN, INFO, DEBUG, TRACE [default: INFO]
    --log-location <LOG_LOCATION>  Log files location [default: /var/log/krossbar/krossbar.log]
-f, --follow                       Output appended data as the file grows
-h, --help                         Print help
-V, --version                      Print version

Dependencies

~7–16MB
~210K SLoC