mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
log to correct stream
This commit is contained in:
+1
-1
@@ -154,7 +154,7 @@ class LoggerHandler(logging.StreamHandler):
|
||||
"""Write to Tqdm's stream so as to not break progressbars"""
|
||||
try:
|
||||
msg = self.format(record)
|
||||
Tqdm.write(msg)
|
||||
Tqdm.write(msg, file=self.stream)
|
||||
self.flush()
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user