Move logging format config to tox.ini to avoid duplicate log capture in pytest output
This commit is contained in:
parent
e42383dd84
commit
f83d294441
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue