summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-07-09 16:32:37 -0300
committerTomás Touceda <chiiph@leap.se>2013-07-09 16:32:37 -0300
commit1b01b0c05d32f070cb547118bfb9caf36444b876 (patch)
tree51ce8a661388303d86873fac679966efb4bfda35
parent1c002eb9797107eb89540d70ca499c3a379d2bee (diff)
Make openvpn log to a file in windows
-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'
]