printing on stdout

i am doing print fmt("String !");
but it does not come on the stdout

It comes only when i terminate bro.
How can i make it to print out immediately not waiting for bro to
terminate ?

Call flush_all().


i added flush_all() after the print fmt() but still does'nt come
Where as the print fmt in record_connection() comes immediately.

i do'nt know if i'm missing something else like some setting ?

thanks a lot