[Twisted-Python] logging
Glyph
glyph at twistedmatrix.com
Tue Jun 18 11:45:52 MDT 2013
On Jun 18, 2013, at 8:25 AM, Peter Westlake <peter.westlake at pobox.com> wrote:
> On Tue, Jun 18, 2013, at 4:50, Glyph wrote:
>> On Jun 17, 2013, at 5:48 PM, James Y Knight <foom at fuhm.net> wrote:
> ...
>>> And having a logging system which doesn't even support a basic
>>> log level is just silly. Hopefully the new system can at least
>>> have that.
>>
>> The new system being proposed does have log levels. (And, for that
>> matter, so does Twisted currently; we've had log levels for
>> compatibility with stlib Python logging forever.)
>
> It's quite well hidden, though. Looking at
> http://twistedmatrix.com/documents/current/api/twisted.python.log.html,
> there is no mention of logging levels. For that matter it doesn't
> mention twisted.python.log.msg() either!
Yes; in general, the current logging system's documentation is atrocious. Part of this new effort should be to completely re-vamp how we explain things.
-glyph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20130618/fa590eba/attachment-0001.html>
More information about the Twisted-Python
mailing list