Ask Your Question
2

rospy logging configuration file

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

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

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

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

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

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: 286 times

Last updated: Dec 11 '13