diff --git a/src/Registry.ts b/src/Registry.ts index 830cc22..e8899f6 100644 --- a/src/Registry.ts +++ b/src/Registry.ts @@ -106,7 +106,6 @@ class Registry { * @param {DashboardInfo} info Strategy information object. */ static async initialize(info: DashboardInfo): Promise { - setDebugLevel(lvlFatal); setupCustomLocalize(info.hass); // Import the Hass States and strategy options. diff --git a/src/utilities/debug.ts b/src/utilities/debug.ts index 5864e81..43b706b 100644 --- a/src/utilities/debug.ts +++ b/src/utilities/debug.ts @@ -40,7 +40,7 @@ export const { * * @default DebugLevel.Off */ -let currentLevel: DebugLevel = DebugLevel.Off; +let currentLevel: DebugLevel = DebugLevel.Fatal; /** * Extracts the name of the function or method that called the logger from a stack trace string.