Merge pull request #11447 from Budibase/log/automation-id-with-execution

debug log for automation ID
This commit is contained in:
Martin McKeaveney 2023-08-07 16:54:50 +01:00 committed by GitHub
commit f5c40b6f87
1 changed files with 7 additions and 4 deletions

View File

@ -486,10 +486,13 @@ class Orchestrator {
const end = performance.now()
const executionTime = end - start
console.info(`Execution time: ${executionTime} milliseconds`, {
_logKey: "automation",
executionTime,
})
console.info(
`Automation ID: ${automation._id} Execution time: ${executionTime} milliseconds`,
{
_logKey: "automation",
executionTime,
}
)
// store the logs for the automation run
try {