diff --git a/src/extension.ts b/src/extension.ts index 8c523e4e..e9e6ba19 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -49,7 +49,6 @@ export async function activate(context: vscode.ExtensionContext) { const extension = Extension.getInstance(context); Logger.info(`Activating ${EXTENSION_NAME} version ${Extension.getInstance().version}...`); - Logger.info(`Logging level: ${Logger.getLevel()}`); // Set development context if (!Extension.getInstance().isProductionMode) { diff --git a/src/helpers/SettingsHelper.ts b/src/helpers/SettingsHelper.ts index 58973966..b8a23a79 100644 --- a/src/helpers/SettingsHelper.ts +++ b/src/helpers/SettingsHelper.ts @@ -132,6 +132,8 @@ export class Settings { Settings.config = workspace.getConfiguration(CONFIG_KEY); }); + Logger.info(`Logging level: ${Logger.getLevel()}`); + Settings.onConfigChange(); }