Skip to content

Commit 6ac2eda

Browse files
committed
Add log info on run start
1 parent 15ab040 commit 6ac2eda

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

run/src/main/kotlin/com/cosmotech/run/service/RunServiceImpl.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,12 @@ class RunServiceImpl(
576576
nodeLabel = startInfo.startContainers.nodeLabel,
577577
containers = startInfo.startContainers.containers,
578578
)
579+
logger.info(
580+
"[organizationId=${run.organizationId}]" +
581+
"[workspaceId=${run.workspaceId}]" +
582+
"[runnerId=${run.runnerId}]" +
583+
"[runId=${run.id}] has been launched by " +
584+
"[ownerId=${run.ownerId}]")
579585
return runRepository.save(run)
580586
}
581587

0 commit comments

Comments
 (0)