Python logger to Redis database with threading support
Project description
redlog
Yet another logging library in Python. This one writes logs to a Redis database and supports threads of log messages.
It goes with a minimalistic Python API to push logs to the database.
import redlog
log = redlog.Log("localhost", 6397, db=15)
thread = log.info("Session starts")
thread.info("Client connection: socket opened")
...
There are fancy printing/formatting tools too.
python3 -m redlog --db 15 --last 10m
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
redlog-1.3-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file redlog-1.3-py3-none-any.whl
.
File metadata
- Download URL: redlog-1.3-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0c3c5cf3280bf36021f950c4c2264fde156cb949295253c4b2383784ebd945f |
|
MD5 | de67eb6fb46e2f9012ca1cd54493002c |
|
BLAKE2b-256 | 9a16cfb1d32dad518be89de8ac4978cd3366bdd287ebb03b2200ecc2256e1b2c |