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

you should define it in the config file, like this

log4j.logger.ros.log_test=WARN,rosout_a log4j.appender.rosout_a=org.apache.log4j.RollingFileAppender log4j.appender.rosout_a.Threshold=WARN log4j.appender.rosout_a.Append=true log4j.appender.rosout_a.File=/home/name/output.txt