summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2018-11-16 11:20:17 +0100
committerLinus Färnstrand <linus@mullvad.net>2018-11-16 12:01:00 +0100
commite085f8488fd3f21ce4f5ecf258491477324dd52b (patch)
tree65d962d8bc2410f948e0e4a6c47d19ef0fe1d2a8 /mullvad-daemon/src
parent296a8b7e83a9b174ca7e42a46cf02315c4e2c826 (diff)
downloadmullvadvpn-e085f8488fd3f21ce4f5ecf258491477324dd52b.tar.xz
mullvadvpn-e085f8488fd3f21ce4f5ecf258491477324dd52b.zip
Add log directory to help output
Diffstat (limited to 'mullvad-daemon/src')
-rw-r--r--mullvad-daemon/src/cli.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mullvad-daemon/src/cli.rs b/mullvad-daemon/src/cli.rs
index 0fe85588fe..722a176878 100644
--- a/mullvad-daemon/src/cli.rs
+++ b/mullvad-daemon/src/cli.rs
@@ -43,6 +43,7 @@ lazy_static::lazy_static! {
[Default: {}]
MULLVAD_SETTINGS_DIR Directory path for storing settings. [Default: {}]
MULLVAD_CACHE_DIR Directory path for storing cache. [Default: {}]
+ MULLVAD_LOG_DIR Directory path for storing logs. [Default: {}]
MULLVAD_RPC_SOCKET_PATH Location of the management interface device.
It refers to Unix domain socket on Unix based platforms, and named pipe on Windows.
[Default: {}]
@@ -51,6 +52,7 @@ lazy_static::lazy_static! {
mullvad_paths::get_default_resource_dir().display(),
mullvad_paths::get_default_settings_dir().expect("Unable to get settings dir").display(),
mullvad_paths::get_default_cache_dir().expect("Unable to get cache dir").display(),
+ mullvad_paths::get_default_log_dir().expect("Unable to get log dir").display(),
mullvad_paths::get_default_rpc_socket_path().display());
}