From df6df07ac001a2606b30b9ee804f5621890c4c12 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Mon, 3 Mar 2014 13:21:34 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20m/lo?= =?UTF-8?q?g.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- m/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m/log.py b/m/log.py index 2369118..f7c8480 100644 --- a/m/log.py +++ b/m/log.py @@ -6,7 +6,7 @@ from datetime import datetime class Log(object): def __init__(self) : self.logger = logging.getLogger() - self.logger = addLevelName(25, SUCESS) + self.logger.addLevelName(25, SUCCESS) self.logger.setLevel(logging.DEBUG) formatter = logging.Formatter('%(asctime)-15s :: %(levelname)s :: %(message)s') file_handler = RotatingFileHandler('activity.log', 'a', 1000000, 1)