Skip to content

Commit 248004d

Browse files
improve log messages
1 parent dcf0bd7 commit 248004d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cads_broker/dispatcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ def kill_job_on_worker(client: distributed.Client, request_uid: str) -> None:
109109
nanny=True,
110110
)
111111
logger.info(
112-
"killing worker", job_id=request_uid, pid=pid, worker_ip=worker_ip
112+
"killed job on worker", job_id=request_uid, pid=pid, worker_ip=worker_ip
113113
)
114114
except (KeyError, NameError):
115115
logger.warning(
116-
"worker not found", job_id=request_uid, pid=pid, worker_ip=worker_ip
116+
"worker not found while killing a job", job_id=request_uid, pid=pid, worker_ip=worker_ip
117117
)
118118

119119

0 commit comments

Comments
 (0)