Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

roslaunch log files flush period

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.

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?

roslaunch log files flush period

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/200593/why-in-this-simple-sample-my-logs-are-not-written-in-logfile-or-is-there-a-way-to-control-the-flushing-period-of-the-log-files/

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?