mirror of
https://github.com/clearml/clearml
synced 2025-02-07 21:33:25 +00:00
Add warning when loosing reporting subprocess
This commit is contained in:
parent
b036bbce2f
commit
f80a6813a5
@ -113,6 +113,8 @@ class BackgroundReportService(BackgroundMonitor, AsyncManagerMixin):
|
||||
# start background thread
|
||||
self._thread = None
|
||||
self._start()
|
||||
logging.getLogger('clearml.reporter').warning(
|
||||
'Event reporting sub-process lost, switching to thread based reporting')
|
||||
|
||||
self._queue.put(ev)
|
||||
self._queue_size += 1
|
||||
|
@ -99,6 +99,8 @@ class BackgroundLogService(BackgroundMonitor):
|
||||
# start background thread
|
||||
self._thread = None
|
||||
self._start()
|
||||
getLogger('clearml.log').warning(
|
||||
'Event reporting sub-process lost, switching to thread based reporting')
|
||||
|
||||
self._queue.put(record)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user