[openrtm-commit:00728] r515 - branches/RELENG_1_0/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2012年 2月 19日 (日) 00:49:22 JST
Author: kurihara
Date: 2012-02-19 00:49:21 +0900 (Sun, 19 Feb 2012)
New Revision: 515
Modified:
branches/RELENG_1_0/OpenRTM-aist-Python/OpenRTM_aist/SystemLogger.py
Log:
a bug about setLeve has been fixed. for Python2.7
Modified: branches/RELENG_1_0/OpenRTM-aist-Python/OpenRTM_aist/SystemLogger.py
===================================================================
--- branches/RELENG_1_0/OpenRTM-aist-Python/OpenRTM_aist/SystemLogger.py 2012-02-13 02:16:39 UTC (rev 514)
+++ branches/RELENG_1_0/OpenRTM-aist-Python/OpenRTM_aist/SystemLogger.py 2012-02-18 15:49:21 UTC (rev 515)
@@ -142,6 +142,7 @@
logging.addLevelName(logging.TRACE, "TRACE")
logging.addLevelName(logging.FATAL, "FATAL")
+ """
logging.root.setLevel([logging.NOTSET,
logging.PARANOID,
logging.VERBOSE,
@@ -152,6 +153,7 @@
logging.ERROR,
logging.FATAL,
logging.CRITICAL])
+ """
formatter = logging.Formatter('%(asctime)s %(name)s %(levelname)s %(message)s')
openrtm-commit メーリングリストの案内