A simple python package to parse SSV node logs and make them legible
Project description
SSV logger
A simple tool to make the SSV node's logs easier to view.
Dependencies
- Python3
- Colorama
Installation
python3 -m pip install ssvlogger
How to use
In both cases omit the -f
to process all available logs, not just follow the current logs.
With docker
docker logs -f ssv_node | ssvlogger
Without docker
If you do not use docker it will only work as a service, assuming you have a service called "ssv_node" you should run
journalctl -u ssv_node -f | ssvlogger -j
Or you could use:
journalctl -u ssv_node -f --output cat | ssvlogger
Additional Flags
You can also use different flags to disable or enable certain features in the script
short command | long command | description |
---|---|---|
-n | --no-spam | Disables connection and registry event logs |
-t | --traceback | Shows tracebacks for errors |
-j | --journal |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ssvlogger-1.2.0.tar.gz
(15.0 kB
view hashes)
Built Distribution
ssvlogger-1.2.0-py3-none-any.whl
(13.9 kB
view hashes)
Close
Hashes for ssvlogger-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fdb5bc1d07d3f72e2b3e5e5c3ffa7dda6e6e8c2a9c9ea55126b34f079a8d618 |
|
MD5 | 511d1289b55fce6fe1837ed79de1b37e |
|
BLAKE2b-256 | 41577cc98654abb3a95bfa094ed27f49e8338379f002fb36517586c5f0e39a8a |