]> granicus.if.org Git - python/commitdiff
Closes #12906: Fixed bug in YAML configuration.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 6 Sep 2011 13:07:23 +0000 (14:07 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 6 Sep 2011 13:07:23 +0000 (14:07 +0100)
Doc/howto/logging.rst

index 5ff0d74f6fb60b7f574996e254f103ad79fa2e6a..2c9514a58d35b1c7c57ec9ddf255349e33e55da2 100644 (file)
@@ -679,7 +679,7 @@ the new dictionary-based approach::
     version: 1
     formatters:
       simple:
-        format: format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
+        format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
     handlers:
       console:
         class: logging.StreamHandler