flushLog