Make reference identification logging conditional on debug level 3