It can be achieved by ''flush_lines(1)'', which is the default setting.

 options { flush_lines(1); };

Another option influencing when the log lines are written to disc is ''flush_timeout()''. Lines are flushed when the given number of lines arrived or when the timeout arrived.