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().

    Vern

i added flush_all() after the print fmt() but still does'nt come
immediatley.
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
ashley