summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2018-09-19 09:02:18 +0200
committerLinus Färnstrand <linus@mullvad.net>2018-09-19 09:02:18 +0200
commit2c924c352e458255e8faf2f9733cd60ecf6d7611 (patch)
tree02469a3cc630df93fc5185f438d396d97987c2ff
parent0dc5bd172b34f64385a9c9542c29b85413fec2bb (diff)
downloadmullvadvpn-2c924c352e458255e8faf2f9733cd60ecf6d7611.tar.xz
mullvadvpn-2c924c352e458255e8faf2f9733cd60ecf6d7611.zip
Don't log entire uniqueness check error chain by default
-rw-r--r--mullvad-daemon/src/rpc_uniqueness_check.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/mullvad-daemon/src/rpc_uniqueness_check.rs b/mullvad-daemon/src/rpc_uniqueness_check.rs
index 37bf8a3f60..c73ec0980f 100644
--- a/mullvad-daemon/src/rpc_uniqueness_check.rs
+++ b/mullvad-daemon/src/rpc_uniqueness_check.rs
@@ -15,10 +15,10 @@ pub fn is_another_instance_running() -> bool {
Err(error) => {
let msg =
"Failed to locate/connect to another daemon instance, assuming there isn't one";
- if log_enabled!(Level::Debug) {
- debug!("{}\n{}", msg, error.display_chain());
+ if log_enabled!(Level::Trace) {
+ trace!("{}\n{}", msg, error.display_chain());
} else {
- info!("{}", msg);
+ debug!("{}", msg);
}
false
}