Ask Your Question

Change python node log level while running

asked 2011-04-22 04:59:26 -0500

baxelrod gravatar image

Is there any way to change a python node's log level while it is running? says that you must pass in a parameter to rospy.init_node(), which means you need to kill and restart the node...

Also, I am curious why rxloggerlevel doesn't work for python nodes.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-04-22 08:00:11 -0500

kwc gravatar image

You currently can't do this in rospy without some severe internal API hacking. This would make a good feature request ticket (or patch).

rxloggerlevel works against an API that was developed solely for roscpp. I've been meaning to add it to rospy, but the API needs some cleanup and it's been lower priority.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-04-22 04:59:26 -0500

Seen: 1,193 times

Last updated: Apr 22 '11