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

Revision history [back]

click to hide/show revision 1
initial version

I haven't tried it, but with a version of ROS newer than August 2012 it should be possible to do something like the following:

import logging class Filter(logging.Filter): def filter(self, record): return 'State machine transitioning' not in record.msg logging.getLogger('rosout').addFilter(MyFilter())

I haven't tried it, but with a version of ROS newer than August 2012 it should be possible to do something like the following:

import logging
 class Filter(logging.Filter):
     def filter(self, record):
         return 'State machine transitioning' not in record.msg
  logging.getLogger('rosout').addFilter(MyFilter())

logging.getLogger('rosout').addFilter(MyFilter())