cleanup logs.