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

So it is more of a system maintenance question, will the logs files roll over once it crosses a certain limit or will it continue creating new logs files ?

See Is it possible to control the size of log file ? for a related question. Apparently there is some support (rosout.log limited to 100MB and rolled-over at that point, but other logs will currently not (2016-04-22)). ros/ros_comm#551 seems to extend / complete this.

I'm not entirely sure of the implications of 551, but as rosconsole in the end logs through log4cxx, it might be possible (right now, as an alternative to 551 or in combination with it) to configure log4cxx to use its syslog appender. That should allow you to configure whatever tool rotates logs (such as logrotate) fi, to get what you're after.