[CalendarServer-changes] [12410] twext/trunk/twext/python/log.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:19:35 PDT 2014
Revision: 12410
http://trac.calendarserver.org//changeset/12410
Author: wsanchez at apple.com
Date: 2014-01-20 15:35:17 -0800 (Mon, 20 Jan 2014)
Log Message:
-----------
Undo r12402
Revision Links:
--------------
http://trac.calendarserver.org//changeset/12402
Modified Paths:
--------------
twext/trunk/twext/python/log.py
Modified: twext/trunk/twext/python/log.py
===================================================================
--- twext/trunk/twext/python/log.py 2014-01-20 23:00:59 UTC (rev 12409)
+++ twext/trunk/twext/python/log.py 2014-01-20 23:35:17 UTC (rev 12410)
@@ -641,10 +641,11 @@
Events that not not have a log level or namespace are also dropped.
"""
- defaultLogLevel = LogLevel.info
+ def __init__(self):
+ # FIXME: Make this a class variable. But that raises an
+ # _initializeEnumerants constants error in Twisted 12.2.0.
+ self.defaultLogLevel = LogLevel.info
-
- def __init__(self):
self._logLevelsByNamespace = {}
self.clearLogLevels()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/b74f6cd7/attachment.html>
More information about the calendarserver-changes
mailing list