Changed fmt to log