adding log msgs to domain objects