summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-03-07 10:20:04 +0100
committerLinus Färnstrand <linus@mullvad.net>2017-03-07 10:20:04 +0100
commit79836cdcddff32feb1c30e0e7035f94ffc16053f (patch)
treec1692eba868902d51e1c8178a44505d82ebc114a /src
parentf3b45296b9d1decbc737698e3ad34ac9b75d5130 (diff)
parent6ab1a2e6fda4b9a9acff75765de91d2e3dc839e1 (diff)
downloadmullvadvpn-79836cdcddff32feb1c30e0e7035f94ffc16053f.tar.xz
mullvadvpn-79836cdcddff32feb1c30e0e7035f94ffc16053f.zip
Merge branch 'more-logging'
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs3
-rw-r--r--src/process/openvpn.rs1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 00c4061801..8fe76a5a69 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -9,6 +9,9 @@ extern crate assert_matches;
extern crate clonablechild;
#[macro_use]
+extern crate log;
+
+#[macro_use]
extern crate error_chain;
extern crate talpid_ipc;
diff --git a/src/process/openvpn.rs b/src/process/openvpn.rs
index b533b32b67..48da508f75 100644
--- a/src/process/openvpn.rs
+++ b/src/process/openvpn.rs
@@ -84,6 +84,7 @@ impl OpenVpnCommand {
let mut command = self.create_command();
let args = self.get_arguments();
command.args(&args);
+ debug!("Spawning: {}", &self);
command.spawn()
}