modify log cleaner