diff options
author | Ivan Alejandro <ivanalejandro0@yahoo.com.ar> | 2013-07-09 16:40:48 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@yahoo.com.ar> | 2013-07-09 16:40:48 -0300 |
commit | 19ecc13194fbf5127f83be263d9607cbd587f9ed (patch) | |
tree | 6b3a7a2aac09f07a7a01a7b004ca5b925bb72f74 | |
parent | dcade16e5e600d1eae1055a55cbe77d83a54763a (diff) | |
parent | 1b01b0c05d32f070cb547118bfb9caf36444b876 (diff) |
Merge branch 'bug/openvpn_log_windows' into develop
-rw-r--r-- | changes/bug_openvpn_log_windows | 2 | ||||
-rw-r--r-- | src/leap/services/eip/vpnlaunchers.py | 4 |
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 9be866ab..a1f7e4cf 100644 --- a/src/leap/services/eip/vpnlaunchers.py +++ b/src/leap/services/eip/vpnlaunchers.py @@ -735,6 +735,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' ] |