]> granicus.if.org Git - python/commitdiff
Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 28 Oct 2009 23:28:16 +0000 (23:28 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 28 Oct 2009 23:28:16 +0000 (23:28 +0000)
Doc/library/logging.rst

index 9dc98fbe85b9fc6fbdfdba7694763c8bbc66164a..5e77e137aaa8fb01f6cd27216fdf2a6804bac5b2 100644 (file)
@@ -119,7 +119,7 @@ Another useful feature of the logging API is the ability to produce different
 messages at different log levels.  This allows you to instrument your code with
 debug messages, for example, but turning the log level down so that those debug
 messages are not written for your production system.  The default levels are
-``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO``, ``DEBUG`` and ``NOTSET``.
+``NOTSET``, ``DEBUG``, ``INFO``, ``WARNING``, ``ERROR`` and ``CRITICAL``.
 
 The logger, handler, and log message call each specify a level.  The log message
 is only emitted if the handler and logger are configured to emit messages of