diff options
author | kali <kali@leap.se> | 2012-09-05 07:42:10 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-09-05 07:42:10 +0900 |
commit | a2804c3de1470db98d8c6aa8a01e2de1aa1718a1 (patch) | |
tree | 3743e172e4b7a1e0a2b0650d95950149f66e9ec3 /src/leap/eip/openvpnconnection.py | |
parent | 6ef92e257ce1e605194cb26ff6cb804c7d2c3418 (diff) |
app wide logging handler
Diffstat (limited to 'src/leap/eip/openvpnconnection.py')
-rw-r--r-- | src/leap/eip/openvpnconnection.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/eip/openvpnconnection.py b/src/leap/eip/openvpnconnection.py index 32fa55b1..48252e10 100644 --- a/src/leap/eip/openvpnconnection.py +++ b/src/leap/eip/openvpnconnection.py @@ -7,9 +7,7 @@ import socket import time from functools import partial -logging.basicConfig() logger = logging.getLogger(name=__name__) -logger.setLevel(logging.DEBUG) from leap.base.connection import Connection from leap.util.coroutines import spawn_and_watch_process @@ -45,6 +43,7 @@ to be triggered for each one of them. :type watcher_cb: function :type signal_map: dict """ + logger.debug('init openvpn connection') self.debug = debug #print('conductor:%s' % debug) @@ -192,7 +191,8 @@ to be triggered for each one of them. # def forget_errors(self): - print('forgetting errors') + #print('forgetting errors') + logger.debug('forgetting errors') self.with_errors = False def connect_to_management(self): |