summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/service.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-03-01 21:08:25 +0100
committerKali Kaneko <kali@leap.se>2018-03-02 03:54:26 +0100
commit12e68eab9de5fceeaa22f25cfeb21da56069e931 (patch)
treecd2256005ebc1bbc05cc3e6d7c921933621be46f /src/leap/bitmask/vpn/service.py
parent2412843a0e57102b78bc58bb6d981c8c68063b50 (diff)
[feat] increase verbosity on vpn checks to ease debugging
Diffstat (limited to 'src/leap/bitmask/vpn/service.py')
-rw-r--r--src/leap/bitmask/vpn/service.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/service.py b/src/leap/bitmask/vpn/service.py
index afa75e5e..78443323 100644
--- a/src/leap/bitmask/vpn/service.py
+++ b/src/leap/bitmask/vpn/service.py
@@ -116,6 +116,7 @@ class VPNService(HookableService):
@defer.inlineCallbacks
def start_vpn(self, domain=None):
+ self.log.debug('Starting VPN')
self._cfg.set('autostart', True)
autostart.autostart_app('on')
@@ -234,6 +235,7 @@ class VPNService(HookableService):
if expiry:
expiry_ts = expiry.strftime('%Y-%m-%dT%H:%M:%SZ')
ret['cert_expires'] = expiry_ts
+ self.log.debug('VPN check: %s' % str(ret))
return ret
@defer.inlineCallbacks