diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2021-12-09 11:35:57 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2021-12-09 11:35:57 +0100 |
| commit | 9ac3d19874dd7d4cd9396b142e925b0b609b8181 (patch) | |
| tree | df2a94fb8444a1355a00b0f867f9c80517e8b7f1 /gui/src/main | |
| parent | 44a8a6efd56abe5f2eec791e4230014b2870508e (diff) | |
| parent | 327f13f19be9e0bfab7af1490aacb5a33951901d (diff) | |
| download | mullvadvpn-9ac3d19874dd7d4cd9396b142e925b0b609b8181.tar.xz mullvadvpn-9ac3d19874dd7d4cd9396b142e925b0b609b8181.zip | |
Merge branch 'disable-translation-error-logs-in-production'
Diffstat (limited to 'gui/src/main')
| -rw-r--r-- | gui/src/main/daemon-rpc.ts | 2 | ||||
| -rw-r--r-- | gui/src/main/gui-settings.ts | 2 | ||||
| -rw-r--r-- | gui/src/main/index.ts | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/gui/src/main/daemon-rpc.ts b/gui/src/main/daemon-rpc.ts index 4dbae23630..c12ee53eff 100644 --- a/gui/src/main/daemon-rpc.ts +++ b/gui/src/main/daemon-rpc.ts @@ -590,7 +590,7 @@ export class DaemonRpc { private connectivityChangeCallback(timeoutErr?: Error) { const channel = this.client.getChannel(); const currentState = channel?.getConnectivityState(true); - log.debug(`GRPC Channel connectivity state changed to ${currentState}`); + log.verbose(`GRPC Channel connectivity state changed to ${currentState}`); if (channel) { if (timeoutErr) { this.setChannelCallback(currentState); diff --git a/gui/src/main/gui-settings.ts b/gui/src/main/gui-settings.ts index 940dd7215c..d5432e2321 100644 --- a/gui/src/main/gui-settings.ts +++ b/gui/src/main/gui-settings.ts @@ -106,7 +106,7 @@ export default class GuiSettings { const error = e as Error & { code?: string }; // Read settings if the file exists, otherwise write the default settings to it. if (error.code === 'ENOENT') { - log.debug('Creating gui-settings file and writing the default settings to it'); + log.verbose('Creating gui-settings file and writing the default settings to it'); this.store(); } else { log.error(`Failed to read GUI settings file: ${error}`); diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index 2924408ee6..ede8384e67 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -270,7 +270,7 @@ class ApplicationMain { this.initLogging(); - log.debug(`Chromium sandbox is ${SANDBOX_DISABLED ? 'disabled' : 'enabled'}`); + log.verbose(`Chromium sandbox is ${SANDBOX_DISABLED ? 'disabled' : 'enabled'}`); if (!SANDBOX_DISABLED) { app.enableSandbox(); } @@ -354,8 +354,8 @@ class ApplicationMain { backupLogFile(mainLogPath); backupLogFile(rendererLogPath); - log.addOutput(new FileOutput(LogLevel.debug, mainLogPath)); - this.rendererLog.addOutput(new FileOutput(LogLevel.debug, rendererLogPath)); + log.addOutput(new FileOutput(LogLevel.verbose, mainLogPath)); + this.rendererLog.addOutput(new FileOutput(LogLevel.verbose, rendererLogPath)); } catch (e) { const error = e as Error; console.error('Failed to initialize logging:', error); @@ -1351,7 +1351,7 @@ class ApplicationMain { ); reject(error.message); } else { - log.debug(`Problem report was written to ${reportPath}`); + log.verbose(`Problem report was written to ${reportPath}`); resolve(id); } }); |
