Skip to content

Commit 9df3a7f

Browse files
author
Ugo Plouviez
committed
Add logs in ping
1 parent 064eaf9 commit 9df3a7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/iexec/worker/PingService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ public void pingScheduler() {
3434

3535
if (sessionId != null && !sessionId.equalsIgnoreCase(currentSessionId)){
3636
// need to reconnect to the core by restarting the worker
37-
log.warn("Scheduler seems to have restarted, the worker will restart now!");
37+
log.warn("Scheduler seems to have restarted [currentSessionId:{}, coreSessionId:{}]", currentSessionId, sessionId);
38+
log.warn("The worker will restart now!");
3839
restartService.restartApp();
3940
}
4041
}

0 commit comments

Comments
 (0)