Commit 3e1a6244 authored by Julien Muchembled's avatar Julien Muchembled

rina: prefix logged exceptions with "RINA:"

parent 596050eb
...@@ -55,7 +55,7 @@ class ipcm(object): ...@@ -55,7 +55,7 @@ class ipcm(object):
logging.debug("%s", x) logging.debug("%s", x)
return r return r
except socket.error, e: except socket.error, e:
logging.info("%s", e) logging.info("RINA: %s", e)
del self._socket del self._socket
def iterIpcp(self): def iterIpcp(self):
...@@ -295,7 +295,7 @@ if os.path.isdir("/sys/rina"): ...@@ -295,7 +295,7 @@ if os.path.isdir("/sys/rina"):
return True return True
shim = None shim = None
except Exception, e: except Exception, e:
logging.info("%s", e) logging.info("RINA: %s", e)
return False return False
def enabled(*args): def enabled(*args):
...@@ -303,4 +303,4 @@ def enabled(*args): ...@@ -303,4 +303,4 @@ def enabled(*args):
try: try:
shim.enabled(*args) shim.enabled(*args)
except Exception, e: except Exception, e:
logging.info("%s", e) logging.info("RINA: %s", e)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment