Skip to content

Commit 8adc7d7

Browse files
committed
Fix bug in logger configuration.
1 parent be1b476 commit 8adc7d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

popper/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,11 +311,11 @@ def __init__(self, cmd_line=False, info=True, debug=False, show_stats=True, max_
311311
elif debug:
312312
log_level = logging.DEBUG
313313
# logging.basicConfig(format='%(asctime)s %(message)s', level=log_level, datefmt='%H:%M:%S')
314-
logging.basicConfig(format='%(message)s', level=log_level, datefmt='%H:%M:%S')
315314
elif info:
316315
log_level = logging.INFO
317316
else:
318317
log_level = logging.WARNING
318+
logging.basicConfig(format='%(message)s', level=log_level, datefmt='%H:%M:%S')
319319

320320
self.info = info
321321
self.debug = debug

0 commit comments

Comments
 (0)