summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
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()
}