mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
refactor(core): Add workflowId to all job processor logs (#16726)
This commit is contained in:
@@ -72,6 +72,7 @@ export class JobProcessor {
|
||||
|
||||
this.logger.info(`Worker started execution ${executionId} (job ${job.id})`, {
|
||||
executionId,
|
||||
workflowId,
|
||||
jobId: job.id,
|
||||
});
|
||||
|
||||
@@ -168,6 +169,11 @@ export class JobProcessor {
|
||||
// Can't set the status directly in the queued worker, but it will happen in InternalHook.onWorkflowPostExecute
|
||||
this.logger.debug(
|
||||
`Queued worker execution status for execution ${executionId} (job ${job.id}) is "${status}"`,
|
||||
{
|
||||
executionId,
|
||||
workflowId,
|
||||
jobId: job.id,
|
||||
},
|
||||
);
|
||||
};
|
||||
|
||||
@@ -241,6 +247,7 @@ export class JobProcessor {
|
||||
|
||||
this.logger.info(`Worker finished execution ${executionId} (job ${job.id})`, {
|
||||
executionId,
|
||||
workflowId,
|
||||
jobId: job.id,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user