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 console -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.1-py3-none-any.whl
(10.4 kB
view details)
File details
Details for the file redlog-1.1-py3-none-any.whl
.
File metadata
- Download URL: redlog-1.1-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c7cb1480a2102632846bf1049cb339f9f3aca0918204ca84a538b08000ac611 |
|
MD5 | 8b3aad37acf84bb9959171bee887b344 |
|
BLAKE2b-256 | 8cebd1841a324002236741086abc0a677d7a0240fa21aa6e47b7c31c56f8e74d |