summaryrefslogtreecommitdiff
path: root/src/leap/eip/vpnmanager.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-08-07 04:14:06 +0900
committerkali <kali@leap.se>2012-08-07 04:14:06 +0900
commit36b0dfacca794e9cb899b5dde2dae3b8bbc6cc43 (patch)
tree28b3433e86b018ac80de264e989b47ca43af1216 /src/leap/eip/vpnmanager.py
parenta6416bd5e4dc57390ba0748878d229098aeca42e (diff)
build default provider openvpn config.
preparation for completion of #356, #355, #354, #182 if no default openvpn config is present, we build one with a preset template and the remote_ip of the eip service as the only input. right now we're taking it from the eip.cfg file.
Diffstat (limited to 'src/leap/eip/vpnmanager.py')
-rw-r--r--src/leap/eip/vpnmanager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/eip/vpnmanager.py b/src/leap/eip/vpnmanager.py
index 78777cfb..caf7ab76 100644
--- a/src/leap/eip/vpnmanager.py
+++ b/src/leap/eip/vpnmanager.py
@@ -6,6 +6,7 @@ import telnetlib
import time
logger = logging.getLogger(name=__name__)
+logger.setLevel('DEBUG')
TELNET_PORT = 23
@@ -74,7 +75,7 @@ class OpenVPNManager(object):
self.with_errors = False
def forget_errors(self):
- print('forgetting errors')
+ logger.debug('forgetting errors')
self.with_errors = False
def connect(self):