From 5eb4ae66006c4792003091df937eb31c5b34fa21 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Thu, 9 Apr 2020 12:56:55 +0300 Subject: [PATCH] Use a daemon thread for the log --- trains/backend_interface/task/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trains/backend_interface/task/log.py b/trains/backend_interface/task/log.py index 98cb4d01..fed00983 100644 --- a/trains/backend_interface/task/log.py +++ b/trains/backend_interface/task/log.py @@ -148,7 +148,7 @@ class TaskHandler(BufferingHandler): self._exit_event.clear() # multiple workers could be supported as well self._thread = Thread(target=self._daemon) - # self._thread.daemon = True + self._thread.daemon = True self._thread.start() self._queue.put(request)