comparison lib/standardservice/logsetup.py @ 529:af9a29a63a28

typo from addition of verboseLogging Ignore-this: 76d72724b9a8bb7375f41a616ff84f0d
author drewp@bigasterisk.com
date Tue, 23 Apr 2019 02:17:35 -0700
parents 77181261f8ce
children 0c7fa3bbbba7
comparison
equal deleted inserted replaced
528:416cc380bcb1 529:af9a29a63a28
4 logging.basicConfig(format="%(created)f %(asctime)s %(name)s %(levelname)s %(message)s") 4 logging.basicConfig(format="%(created)f %(asctime)s %(name)s %(levelname)s %(message)s")
5 logging.getLogger('restkit.client').setLevel(logging.WARN) 5 logging.getLogger('restkit.client').setLevel(logging.WARN)
6 log = logging.getLogger() 6 log = logging.getLogger()
7 log.setLevel(logging.INFO) 7 log.setLevel(logging.INFO)
8 8
9 def enableTwistedLog(yes): 9 def enableTwistedLog():
10 from twisted.python import log as twlog 10 from twisted.python import log as twlog
11 import sys 11 import sys
12 twlog.startLogging(sys.stdout) 12 twlog.startLogging(sys.stdout)
13 13
14 def verboseLogging(yes): 14 def verboseLogging(yes):