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
Built Distribution
File details
Details for the file ssvlogger-1.4.0.tar.gz
.
File metadata
- Download URL: ssvlogger-1.4.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 385d01620c3c6de08dfd73391682fccfb499835acd1f761eb2dd3afa64d46496 |
|
MD5 | b89ec68df36162a2229ee8440f5b5611 |
|
BLAKE2b-256 | 9a697aacee8941970ce1ba331a571db54d2ce4bb872106e6b838bb9dde400294 |
File details
Details for the file ssvlogger-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: ssvlogger-1.4.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96a4abdde14a04e19a0089b65a3fc0cd157fc102431cf6b331107568abdb6fed |
|
MD5 | 4e7784585e7a456fe74176935cae57c4 |
|
BLAKE2b-256 | 95c457f8b2feac56629dd4a17b4f1cf8fca8707702104314a209d6651ced333b |