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.