Move logging of MaxDepthExceededException into a separate protected method, and reduce the more verbose parts to debug level