Skip to content

Yet another logging library in Python. This one writes logs to a Redis database and supports threads of logs messages.

License

Notifications You must be signed in to change notification settings

lnstadrum/redlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redlog

Yet another logging library in Python. This one writes logs to a Redis database and supports threads of log messages.

Screenshot

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

About

Yet another logging library in Python. This one writes logs to a Redis database and supports threads of logs messages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published