mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): Convert verbose to debug logs (#10574)
This commit is contained in:
@@ -1954,7 +1954,7 @@ export function getAdditionalKeys(
|
||||
if (mode === 'manual') {
|
||||
throw e;
|
||||
}
|
||||
Logger.verbose(e.message);
|
||||
Logger.debug(e.message);
|
||||
}
|
||||
},
|
||||
setAll(obj: Record<string, string>): void {
|
||||
@@ -1964,7 +1964,7 @@ export function getAdditionalKeys(
|
||||
if (mode === 'manual') {
|
||||
throw e;
|
||||
}
|
||||
Logger.verbose(e.message);
|
||||
Logger.debug(e.message);
|
||||
}
|
||||
},
|
||||
get(key: string): string {
|
||||
|
||||
@@ -794,7 +794,7 @@ export class WorkflowExecute {
|
||||
// active executions anymore
|
||||
// eslint-disable-next-line @typescript-eslint/promise-function-async
|
||||
processRunExecutionData(workflow: Workflow): PCancelable<IRun> {
|
||||
Logger.verbose('Workflow execution started', { workflowId: workflow.id });
|
||||
Logger.debug('Workflow execution started', { workflowId: workflow.id });
|
||||
|
||||
const startedAt = new Date();
|
||||
const forceInputNodeExecution = this.forceInputNodeExecution(workflow);
|
||||
@@ -1804,7 +1804,7 @@ export class WorkflowExecute {
|
||||
const fullRunData = this.getFullRunData(startedAt);
|
||||
|
||||
if (executionError !== undefined) {
|
||||
Logger.verbose('Workflow execution finished with error', {
|
||||
Logger.debug('Workflow execution finished with error', {
|
||||
error: executionError,
|
||||
workflowId: workflow.id,
|
||||
});
|
||||
@@ -1818,13 +1818,13 @@ export class WorkflowExecute {
|
||||
}
|
||||
} else if (this.runExecutionData.waitTill!) {
|
||||
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
|
||||
Logger.verbose(`Workflow execution will wait until ${this.runExecutionData.waitTill}`, {
|
||||
Logger.debug(`Workflow execution will wait until ${this.runExecutionData.waitTill}`, {
|
||||
workflowId: workflow.id,
|
||||
});
|
||||
fullRunData.waitTill = this.runExecutionData.waitTill;
|
||||
fullRunData.status = 'waiting';
|
||||
} else {
|
||||
Logger.verbose('Workflow execution finished successfully', { workflowId: workflow.id });
|
||||
Logger.debug('Workflow execution finished successfully', { workflowId: workflow.id });
|
||||
fullRunData.finished = true;
|
||||
fullRunData.status = 'success';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user