summaryrefslogtreecommitdiff
path: root/src/leap
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 /src/leap
parent1c002eb9797107eb89540d70ca499c3a379d2bee (diff)
Make openvpn log to a file in windows
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/services/eip/vpnlaunchers.py4
1 files changed, 4 insertions, 0 deletions
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'
]