diff --git a/src/common/config/defaultPreferences.ts b/src/common/config/defaultPreferences.ts index 2a4c22698f8..5ef4e379f79 100644 --- a/src/common/config/defaultPreferences.ts +++ b/src/common/config/defaultPreferences.ts @@ -48,6 +48,7 @@ const defaultPreferences: ConfigV3 = { lastActiveTeam: 0, downloadLocation: getDefaultDownloadLocation(), startInFullscreen: false, + logLevel: 'info', }; export default defaultPreferences; diff --git a/src/common/log.ts b/src/common/log.ts index 6e718c433c7..6daf6147536 100644 --- a/src/common/log.ts +++ b/src/common/log.ts @@ -22,6 +22,9 @@ export class Logger { constructor(...prefixes: string[]) { this.prefixes = this.shortenPrefixes(...prefixes); + + // Start on info by default + setLoggingLevel('info'); } withPrefix = (...prefixes: string[]) => {