changed log entry to be a real case class