flush on log