summaryrefslogtreecommitdiffhomepage
path: root/mullvad-problem-report/src
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2018-10-24 14:45:00 +0200
committerLinus Färnstrand <linus@mullvad.net>2018-10-24 23:34:33 +0200
commitc22962d1422c0c415d35c0068efe53124dd98aa9 (patch)
tree1f4829e9b8639a0df8a89b10500e1b7ab60f520d /mullvad-problem-report/src
parent7db6d2c0c67156a604bbeb87b21da89249d72b62 (diff)
downloadmullvadvpn-c22962d1422c0c415d35c0068efe53124dd98aa9.tar.xz
mullvadvpn-c22962d1422c0c415d35c0068efe53124dd98aa9.zip
Add terminal logging to problem-report
Diffstat (limited to 'mullvad-problem-report/src')
-rw-r--r--mullvad-problem-report/src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mullvad-problem-report/src/main.rs b/mullvad-problem-report/src/main.rs
index 1ffa870f4e..c1920f9bff 100644
--- a/mullvad-problem-report/src/main.rs
+++ b/mullvad-problem-report/src/main.rs
@@ -11,6 +11,7 @@ extern crate clap;
extern crate dirs;
#[macro_use]
extern crate error_chain;
+extern crate env_logger;
#[macro_use]
extern crate lazy_static;
extern crate regex;
@@ -91,6 +92,7 @@ error_chain!{
quick_main!(run);
fn run() -> Result<()> {
+ env_logger::init();
let app = clap::App::new("problem-report")
.version(metadata::PRODUCT_VERSION)
.author(crate_authors!())