Logger conflicts with my own logger
When I call rospy.init_node
, logging of errors using my own defined logger stops working and nothing is displayed. For example when I call an object without its arguments, I get a TypeError
printed on the interpreter but after I call rospy.init_node
the same object instantiation without arguments goes through without any error being printed. This then makes it difficult to debug my code.
The logger I use is derived from the Python logging
module. I am using Python3 with the Python2 rospy
module in the Ubuntu terminal multiplexer screen
. I am using ROS Kinetic.
My question is: Does anyone know how to resolve such a problem? Can I use the rospy
logger with my own?
Thanks in advance.