projects
/
osm
/
openvim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
loggin enhancement at host_thread
[osm/openvim.git]
/
osm_openvim
/
openflow_thread.py
diff --git
a/osm_openvim/openflow_thread.py
b/osm_openvim/openflow_thread.py
index
cd873e7
..
2f39fab
100644
(file)
--- a/
osm_openvim/openflow_thread.py
+++ b/
osm_openvim/openflow_thread.py
@@
-165,7
+165,10
@@
class openflow_thread(threading.Thread):
else:
self.logger.error("unknown task %s", str(task))
except openflow_conn.OpenflowconnException as e:
else:
self.logger.error("unknown task %s", str(task))
except openflow_conn.OpenflowconnException as e:
+ self.logger.error("OpenflowconnException: " + str(e))
self.set_openflow_controller_status(OFC_STATUS_ERROR, str(e))
self.set_openflow_controller_status(OFC_STATUS_ERROR, str(e))
+ except Exception as e:
+ self.logger.critical("Unexpected exception at run: " + str(e), exc_info=True)
def terminate(self):
pass
def terminate(self):
pass