printing on stdout

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 ?

As usual, please send a working example that demonstrates the problem.

(And probably we should take this off-line at this point.)