Small changes to clean logs