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
Directly on the log file
If you specify ssvlogger [FILE] the script will attempt to read the file instead of using journalctl or docker.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ssvlogger-1.7.1.tar.gz.
File metadata
- Download URL: ssvlogger-1.7.1.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
969c110173ca0aefc9592bc56d2ec4f3447f7f4d23b0006b7fd11f4279b530bd
|
|
| MD5 |
072644a6894bf48b573ede152b6a2b45
|
|
| BLAKE2b-256 |
af0acfc6f0763094c19e99eed15daa014ccdb024d1def338558d2455534d53d5
|
File details
Details for the file ssvlogger-1.7.1-py3-none-any.whl.
File metadata
- Download URL: ssvlogger-1.7.1-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2db8d4e12a5d0b91d2e266cdfa5a775d1d203c0bdb58db6986d7b91bd266ea3
|
|
| MD5 |
b3d8c265e900b17d30a57382a96f7861
|
|
| BLAKE2b-256 |
289c635f86d8c6a9a172bc37194b1b166208492e11359af11f292004f3b4adec
|