flush logger