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.2-py3-none-any.whl
(11.1 kB
view details)
File details
Details for the file redlog-1.2-py3-none-any.whl
.
File metadata
- Download URL: redlog-1.2-py3-none-any.whl
- Upload date:
- Size: 11.1 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 | 68305f7fb81230b51a08f4724eae4f30265d64a083a6d3716ac4e0f181264016 |
|
MD5 | 82578198611a336c31016a13a050cfab |
|
BLAKE2b-256 | 154af1f026171c6f2e2a4f4b2d61631c51f210edac6391830b20544aa81ff431 |