Fix log clean script