From 1b01b0c05d32f070cb547118bfb9caf36444b876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Touceda?= Date: Tue, 9 Jul 2013 16:32:37 -0300 Subject: Make openvpn log to a file in windows --- changes/bug_openvpn_log_windows | 2 ++ src/leap/services/eip/vpnlaunchers.py | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 changes/bug_openvpn_log_windows 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' ] -- cgit v1.2.3