Robotics StackExchange | Archived questions

ros log file delay to update than screen

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.

Asked by 942951641@qq.com on 2021-06-22 05:54:49 UTC

Comments

Answers