Skip to content

Latest commit

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

async_logging_handler

Super-simple extensions for standard Python's logging.FileHandler, logging.handlers.RotatingFileHandler and logging.handlers.TimedRotatingFileHandler with asynchronous writing to file (utilizing standard Queue.Queue).

Useful when using logging in programs, where long-time blocking for logging to file is not allowed.

Installation

pip3 install git+https://github.com/innosoft-pro/python-async-logging-handler.git

Using

fromasync_logging_handlerimportAsyncFileHandler# ...async_handler=AsyncFileHandler(filename)
some_logger.addHandler(async_handler)

About

Asynchronous file handers for Python's logging

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages