mlogging 0.1

Logging for MultiProcess

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Kies Lee
HOMEPAGE:
github.com
CATEGORY:
ROOT \ System \ Logging
mlogging is a tool to provide an additional handlers for MultiProcess program based on logging module.

It provides two handlers :

- RotatingFileHandler_MP
- TimedRotatingFileHandler_MP

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)

Last updated on February 28th, 2012

requirements

#rotating logging #Python logging #Python #MultiProcess #rotating #logging

Add your review!

SUBMIT