Skip to main content

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

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


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.4.0.tar.gz (15.5 kB view hashes)

Uploaded Source

Built Distribution

ssvlogger-1.4.0-py3-none-any.whl (14.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page