Log output stream isn't flushed

I noticed that often in case of syntax error the log stops just before the problem occurred. It looks as if system stopped in the middle of nowhere, and then after some waiting, long if the system is idle, it spits the error message with all the other accumulated stuff.

It appears that log output stream isn’t flushed on errors. For me it slows down debugging considerably as every time I have a typo or a nil value I have to find a way to make it produce more log information to cause the system to flush he stream…

edit /etc/cmh/cmh.conf and set ImmediatelyFlush to 1 if it’s 0. If it’s 0, log output is buffered to reduce the number of writes.

Excellent, thanks!