Skip to content

kieslee/mlogging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction
============
mlogging provide an additional handlers for MultiProcess program based on logging module(Copyright 2001-2007 by Vinay Sajip)
It provide two handlers : 
	RotatingFileHandler_MP
	TimedRotatingFileHandler_MP

System requirements
===================
* Python version 2.6 or higher;
* Linux
	
Installation
============
python setup.py install

Example
============
from mlogging import RotatingFileHandler_MP

my_logger = logging.getLogger('MyLogger')
# Add the log message handler to the logger
handler = RotatingFileHandler_MP(
              LOG_FILENAME, maxBytes=200, backupCount=5)

my_logger.addHandler(handler)

About

logging for multiprocess

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages