diff --git a/sphinx/ext/viewcode.py b/sphinx/ext/viewcode.py index 9991cf5d426..6c7620639d7 100644 --- a/sphinx/ext/viewcode.py +++ b/sphinx/ext/viewcode.py @@ -64,8 +64,8 @@ def _get_full_modname(modname: str, attribute: str) -> str | None: return getattr(value, '__module__', None) except AttributeError: # sphinx.ext.viewcode can't follow class instance attribute - # then AttributeError logging output only verbose mode. - logger.verbose("Didn't find %s in %s", attribute, modname) + # then AttributeError logging output only debug mode. + logger.debug("Didn't find %s in %s", attribute, modname) return None except Exception as e: # sphinx.ext.viewcode follow python domain directives.