Flushing logs.
removing logs.