ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
HI Mohsen,
I've implemented a logrotate script that cleans the ROS log folder and creates tar.gz files for old logs. Make sure you have logrotate installed and place the script inside your /etc/logrotate.d folder. Also, make sure to replace the paths on the logrotate script with your own paths.
https://github.com/lucascoelhof/ros_logrotate