[CalendarServer-changes] [11501] CalendarServer/trunk/twext/python/log.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jul 10 13:42:07 PDT 2013
Revision: 11501
http://trac.calendarserver.org//changeset/11501
Author: wsanchez at apple.com
Date: 2013-07-10 13:42:07 -0700 (Wed, 10 Jul 2013)
Log Message:
-----------
docs
Modified Paths:
--------------
CalendarServer/trunk/twext/python/log.py
Modified: CalendarServer/trunk/twext/python/log.py
===================================================================
--- CalendarServer/trunk/twext/python/log.py 2013-07-10 19:56:02 UTC (rev 11500)
+++ CalendarServer/trunk/twext/python/log.py 2013-07-10 20:42:07 UTC (rev 11501)
@@ -114,10 +114,10 @@
etc.
- C{warn}: Warnings events: Events that may require greater attention than
- informational events but are a failure condition, such as authorization
- failures, bad data from a network client, etc.
+ informational events but are not a systemic failure condition, such as
+ authorization failures, bad data from a network client, etc.
- - C{error}: Error conditions: Events indicating a software failure, such
+ - C{error}: Error conditions: Events indicating a systemic failure, such
as unhandled exceptions, loss of connectivity to a back-end database,
etc.
"""
@@ -752,8 +752,10 @@
3. B{filteredPublisher} - a L{LogPublisher}
- 4. B{legacyLogObserver} - a A{LegacyLogObserver} wired up to
- L{twisted.python.log.msg}
+ 4. B{legacyLogObserver} - a L{LegacyLogObserver} wired up to
+ L{twisted.python.log.msg}. This allows any observers registered
+ with Twisted's logging (that is, most observers in presently use) to
+ receive (filtered) events.
The purpose of this class is to provide a default log observer with
sufficient hooks to enable applications to add observers that can either
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130710/05565a05/attachment.html>
More information about the calendarserver-changes
mailing list