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):
logging.debug("%s", x)
return r
except socket.error, e:
logging.info("%s", e)
logging.info("RINA: %s", e)
del self._socket
def iterIpcp(self):
......@@ -295,7 +295,7 @@ if os.path.isdir("/sys/rina"):
return True
shim = None
except Exception, e:
logging.info("%s", e)
logging.info("RINA: %s", e)
return False
def enabled(*args):
......@@ -303,4 +303,4 @@ def enabled(*args):
try:
shim.enabled(*args)
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