summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2020-02-20 11:51:42 +0000
committerEmīls <emils@mullvad.net>2020-02-20 12:41:53 +0000
commit6d12bb8de7c54da08e256beade682e6622ae15d2 (patch)
tree9ff97193d1769d88cfcf30c45dba837bfcd315e9
parentdfc8538529f476a44824dca0fe0442a8089a45e4 (diff)
downloadmullvadvpn-6d12bb8de7c54da08e256beade682e6622ae15d2.tar.xz
mullvadvpn-6d12bb8de7c54da08e256beade682e6622ae15d2.zip
Fixup logging
-rw-r--r--mullvad-daemon/src/wireguard.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/mullvad-daemon/src/wireguard.rs b/mullvad-daemon/src/wireguard.rs
index 413c19aa12..4a56c1e900 100644
--- a/mullvad-daemon/src/wireguard.rs
+++ b/mullvad-daemon/src/wireguard.rs
@@ -79,8 +79,6 @@ impl KeyManager {
account_history: &mut AccountHistory,
account_token: AccountToken,
) {
- log::debug!("reset_rotation");
-
match account_history
.get(&account_token)
.map(|entry| entry.map(|entry| entry.wireguard.map(|wg| wg.get_public_key())))
@@ -103,8 +101,6 @@ impl KeyManager {
account_token: AccountToken,
auto_rotation_interval: Option<Duration>,
) {
- log::debug!("set_rotation_interval");
-
self.auto_rotation_interval =
auto_rotation_interval.unwrap_or(DEFAULT_AUTOMATIC_KEY_ROTATION);
@@ -343,8 +339,6 @@ impl KeyManager {
rotation_interval_secs: u64,
account_token: AccountToken,
) -> impl Future<Item = (), Error = ()> + Send {
- log::debug!("create_automatic_rotation");
-
tokio_timer::wheel()
.build()
.interval(AUTOMATIC_ROTATION_RETRY_DELAY)
@@ -381,6 +375,7 @@ impl KeyManager {
return;
}
+ log::debug!("Starting automatic key rotation job");
// Schedule cancellable series of repeating rotation tasks
let fut = Self::create_automatic_rotation(
self.daemon_tx.clone(),