summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2021-12-08 19:07:17 +0100
committerOskar Nyberg <oskar@mullvad.net>2021-12-08 19:10:18 +0100
commita4da9bb1325ed71a804c11c514a50c6599bd8b32 (patch)
tree4678a1bfe8b4220df31c854cc474340055ce622f /gui/src
parent44a8a6efd56abe5f2eec791e4230014b2870508e (diff)
downloadmullvadvpn-a4da9bb1325ed71a804c11c514a50c6599bd8b32.tar.xz
mullvadvpn-a4da9bb1325ed71a804c11c514a50c6599bd8b32.zip
Change all instances of log level debug to verbose
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/main/daemon-rpc.ts2
-rw-r--r--gui/src/main/gui-settings.ts2
-rw-r--r--gui/src/main/index.ts4
-rw-r--r--gui/src/renderer/app.tsx4
4 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..c707f29cf6 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();
}
@@ -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);
}
});
diff --git a/gui/src/renderer/app.tsx b/gui/src/renderer/app.tsx
index 4de7bb8ca6..8b4116d647 100644
--- a/gui/src/renderer/app.tsx
+++ b/gui/src/renderer/app.tsx
@@ -584,7 +584,7 @@ export default class AppRenderer {
const contentHeight = window.innerHeight;
if (contentHeight !== expectedContentHeight) {
- log.debug(
+ log.verbose(
resize ? 'Resize:' : 'Initial:',
`Wrong content height: ${contentHeight}, expected ${expectedContentHeight}`,
);
@@ -722,7 +722,7 @@ export default class AppRenderer {
private setTunnelState(tunnelState: TunnelState) {
const actions = this.reduxActions;
- log.debug(`Tunnel state: ${tunnelState.state}`);
+ log.verbose(`Tunnel state: ${tunnelState.state}`);
this.tunnelState = tunnelState;
// The main process doesn't notify the tunnel state while waiting for a new one (unless it times