From 5cc09d83fd170466c2b2899b4e82077aa37567c1 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Thu, 2 Jul 2020 01:21:47 +0300 Subject: [PATCH] Fix Task.get_task should not auto log console outputs --- trains/logger.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trains/logger.py b/trains/logger.py index 0328ba04..e04403ba 100644 --- a/trains/logger.py +++ b/trains/logger.py @@ -71,7 +71,8 @@ class Logger(object): self._graph_titles = {} self._tensorboard_series_force_prefix = None - StdStreamPatch.patch_std_streams(self) + if self._task.is_main_task(): + StdStreamPatch.patch_std_streams(self) @classmethod def current_logger(cls):