Cleanup logs.