flush output after events

suggested by Martin Dubuc who wants to log it to file
1 file changed