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 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 publish link more
0

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

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 publish link more

Your Answer

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

Add Answer

[hide preview]

Stats

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

Seen: 280 times

Last updated: Dec 11 '13