Mercurial > code > home > repos > homeauto
comparison lib/standardservice/logsetup.py @ 1332:9d4684867908
typo from addition of verboseLogging
Ignore-this: 76d72724b9a8bb7375f41a616ff84f0d
darcs-hash:4d9d667cee0da1d5e324af92cf07a166e8266fa5
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Tue, 23 Apr 2019 02:17:35 -0700 |
parents | 1934c050f8cc |
children | d3b8d9ffebca |
comparison
equal
deleted
inserted
replaced
1331:6a6fdfd3ffa9 | 1332:9d4684867908 |
---|---|
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): |