Move logging format config to tox.ini to avoid duplicate log capture in pytest output
This commit is contained in:
@@ -143,7 +143,5 @@ class Timer(object):
|
||||
self.end = time.time()
|
||||
self.interval = self.end - self.start
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG,
|
||||
format="%(asctime)-15s %(name)-20s %(levelname)-10s %(message)s")
|
||||
logging.getLogger('test.fixtures').setLevel(logging.ERROR)
|
||||
logging.getLogger('test.service').setLevel(logging.ERROR)
|
||||
|
||||
Reference in New Issue
Block a user