mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
feat(core): Log executed migrations with info level (#7586)
To help debugging possible issues in startup and migrations, log the executed migrations with log level 'info', instead of 'debug'. Github issue / Community forum post (link here to close automatically):
This commit is contained in:
parent
921d213ae5
commit
7dac9ab82c
|
@ -52,14 +52,14 @@ function logMigrationStart(migrationName: string): void {
|
|||
runningMigrations = true;
|
||||
}
|
||||
|
||||
logger.debug(`Starting migration ${migrationName}`);
|
||||
logger.info(`Starting migration ${migrationName}`);
|
||||
}
|
||||
|
||||
function logMigrationEnd(migrationName: string): void {
|
||||
if (inTest) return;
|
||||
|
||||
const logger = Container.get(Logger);
|
||||
logger.debug(`Finished migration ${migrationName}`);
|
||||
logger.info(`Finished migration ${migrationName}`);
|
||||
}
|
||||
|
||||
const runDisablingForeignKeys = async (
|
||||
|
|
Loading…
Reference in a new issue