Logs are not flushing correctly

See also

I wrote that some time ago and have to recheck this description, but it should come at least close