ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

rospy logging configuration file

asked 2011-06-18 05:23:53 -0500

bhaskara gravatar image

updated 2013-12-11 03:09:43 -0500

felix k gravatar image

The logging overview page for rospy ( http://www.ros.org/wiki/rospy/Overvie... ) mentions that as of Diamondback, logging is configured using a file in the fileConfig format.

Is there an example of how to set this up?

Also, do there exist handlers that publish to rosout, and can those be configured from the file as well?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2011-09-02 10:13:54 -0500

kwc gravatar image

http://docs.python.org/library/configparser.html

http://docs.python.org/library/logging.config.html

You cannot configure rosout via the rospy logging format.

In the future, I hope to use a non-logging-module-based solution for rospy, as it is difficult to manipulate.

edit flag offensive delete link more
0

answered 2013-11-20 01:28:20 -0500

130s gravatar image

With this ticket resolved, we should be able to track rospy logs by rqt_logger_level (at least it did when I tried an year ago).

edit flag offensive delete link more

Comments

With rqt_logger_level, you can change the log level manually after node has started up. The configuration file is supposed to setup the log levels of rospy node on startup without the need to alter the node source code.

galou gravatar image galou  ( 2015-09-11 06:29:12 -0500 )edit

Question Tools

Stats

Asked: 2011-06-18 05:23:53 -0500

Seen: 1,286 times

Last updated: Dec 11 '13