adding some logging statements

Could you move this up with the other `readonly` fields in this type?