Fixed log cleaning