Skip to content

Commit 5df5af4

Browse files
committed
Tidied up logs
1 parent df02a27 commit 5df5af4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/murfey/client/multigrid_control.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,10 @@ def is_ready_for_dormancy(self):
145145
w.thread.is_alive() for w in self._environment.watchers.values()
146146
)
147147
log.debug(
148-
f"Dormancy check: rsyncers {rsyncers_finalised}, analysers {not analysers_alive}, watchers {not watchers_alive}"
148+
"Dormancy check: \n"
149+
f" rsyncers: {rsyncers_finalised} \n"
150+
f" analysers: {not analysers_alive} \n"
151+
f" watchers: {not watchers_alive}"
149152
)
150153
return rsyncers_finalised and not analysers_alive and not watchers_alive
151154
log.debug(f"Multigrid watcher for session {self.session_id} is still active")

src/murfey/client/rsync.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def stop(self):
186186
if self.thread.is_alive():
187187
self.queue.put(None)
188188
self.thread.join()
189-
logger.debug("RSync thread stop completed")
189+
logger.debug("RSync thread successfully stopped")
190190

191191
def request_stop(self):
192192
self._stopping = True
@@ -286,7 +286,6 @@ def _process(self):
286286
continue
287287

288288
self._stop_callback(self._basepath, explicit_stop=self._stopping)
289-
logger.info("RSync thread finished")
290289

291290
def _fake_transfer(self, files: list[Path]) -> bool:
292291
previously_transferred = self._files_transferred

0 commit comments

Comments
 (0)