logging flushes