roslaunch log files flush period

asked 2015-06-30 07:04:14 -0600

nwb gravatar image

updated 2015-06-30 07:05:03 -0600

I have a lot of processes being launched with roslaunch. I'm setting the output parameter to send the logs to files. I can see that the files are created, however, some of the logs never get written to disk. This appears to be due to the frequency of writes to synchronize with the disk. At a guess, I would say that some logs are too short and never get written.

It would seem that this is related to http://answers.ros.org/question/20059...

Is it the case that logs are only written once over a certain size? Is there anyway to force the logs to be flushed more frequently?

edit retag flag offensive close merge delete

Comments

Any insight on this? Possibly rosconsole is using an asynchronous logger? It's really hard to debug when half a log file doesn't get written before crash.

nwb gravatar imagenwb ( 2015-09-28 07:59:15 -0600 )edit