diff --git a/.changeset/chilly-rivers-chew.md b/.changeset/chilly-rivers-chew.md new file mode 100644 index 000000000000..d3b8b598a51f --- /dev/null +++ b/.changeset/chilly-rivers-chew.md @@ -0,0 +1,5 @@ +--- +'@verdaccio/cli': patch +--- + +chore: add config location and loglevel to startup log diff --git a/packages/cli/src/commands/init.ts b/packages/cli/src/commands/init.ts index 110e29b3548b..765cbcb260ac 100644 --- a/packages/cli/src/commands/init.ts +++ b/packages/cli/src/commands/init.ts @@ -58,6 +58,8 @@ export class InitCommand extends Command { const configPathLocation = findConfigFile(this.config as string); const configParsed = parseConfigFile(configPathLocation); this.initLogger(configParsed); + logger.info({ file: configPathLocation }, 'using config file: @{file}'); + logger.info('log level: %s', configParsed.log?.level || 'default'); const { web } = configParsed; process.title = web?.title || DEFAULT_PROCESS_NAME;