]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Replaced some tabs with spaces in verbatim section.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 7 Jul 2004 15:59:49 +0000 (15:59 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 7 Jul 2004 15:59:49 +0000 (15:59 +0000)
Doc/lib/liblogging.tex

index 2e8e16ede84d2ccb81e4583f74cd10cb0757ec2b..3658dd85fae6a007f68a3cf67c5e9593885a939d 100644 (file)
@@ -397,9 +397,9 @@ the example below:
 import logging
 
 logging.basicConfig(level=logging.DEBUG,
-                                                                               format='%(asctime)s %(levelname)s %(message)s',
-                                                                               filename='/tmp/myapp.log',
-                                                                               filemode='w')
+                    format='%(asctime)s %(levelname)s %(message)s',
+                    filename='/tmp/myapp.log',
+                    filemode='w')
 logging.debug('A debug message')
 logging.info('Some information')
 logging.warning('A shot across the bows')
@@ -444,10 +444,10 @@ To change the date/time format, you can pass an additional keyword parameter,
 import logging
 
 logging.basicConfig(level=logging.DEBUG,
-                                                                               format='%(asctime)s %(levelname)-8s %(message)s',
-                                                                               datefmt='%a, %d %b %Y %H:%M:%S',
-                                                                               filename='/temp/myapp.log',
-                                                                               filemode='w')
+                    format='%(asctime)s %(levelname)-8s %(message)s',
+                    datefmt='%a, %d %b %Y %H:%M:%S',
+                    filename='/temp/myapp.log',
+                    filemode='w')
 logging.debug('A debug message')
 logging.info('Some information')
 logging.warning('A shot across the bows')