Adding logging for case object