ros log file delay to update than screen

asked 2021-06-22 05:54:49 -0600

942951641@qq.com gravatar image

updated 2021-06-22 07:27:07 -0600

ros default log file path is .ros/log/*.log

I found log file have a delay time to update than screen output, how to set to immediatly output to file ?

ros1 or ros2 use RCLCPP_INFO[| WARN | ERROR | FATAL ]


it look like io buffer size is 4 kb, when buffer is fulled, it will write 4k size log to file.

edit retag flag offensive close merge delete