summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug_openvpn_log_windows2
-rw-r--r--src/leap/services/eip/vpnlaunchers.py4
2 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug_openvpn_log_windows b/changes/bug_openvpn_log_windows
new file mode 100644
index 00000000..9c5cf4e0
--- /dev/null
+++ b/changes/bug_openvpn_log_windows
@@ -0,0 +1,2 @@
+ o Add --log-append eip.log to windows EIP launcher options to save
+ the logs in case of any problems. Fixes #2054. \ No newline at end of file
diff --git a/src/leap/services/eip/vpnlaunchers.py b/src/leap/services/eip/vpnlaunchers.py
index 3cee9bbb..fbbc3c4f 100644
--- a/src/leap/services/eip/vpnlaunchers.py
+++ b/src/leap/services/eip/vpnlaunchers.py
@@ -710,6 +710,10 @@ class WindowsVPNLauncher(VPNLauncher):
'--persist-tun',
'--persist-key',
'--tls-client',
+ # We make it log to a file because we cannot attach to the
+ # openvpn process' stdout since it's a process with more
+ # privileges than we are
+ '--log-append', 'eip.log',
'--remote-cert-tls',
'server'
]