diff --git a/radicale/app/__init__.py b/radicale/app/__init__.py index 5fe71d30..1c323b5d 100644 --- a/radicale/app/__init__.py +++ b/radicale/app/__init__.py @@ -146,7 +146,7 @@ class Application(ApplicationPartDelete, ApplicationPartHead, if self._response_content_on_debug: logger.debug("Response content:\n%s", answer) else: - logger.debug("Response content: suppressed by config/option [auth] response_content_on_debug") + logger.debug("Response content: suppressed by config/option [logging] response_content_on_debug") headers["Content-Type"] += "; charset=%s" % self._encoding answer = answer.encode(self._encoding) accept_encoding = [ @@ -196,7 +196,7 @@ class Application(ApplicationPartDelete, ApplicationPartHead, logger.debug("Request header:\n%s", pprint.pformat(self._scrub_headers(environ))) else: - logger.debug("Request header: suppressed by config/option [auth] request_header_on_debug") + logger.debug("Request header: suppressed by config/option [logging] request_header_on_debug") # SCRIPT_NAME is already removed from PATH_INFO, according to the # WSGI specification. diff --git a/radicale/app/base.py b/radicale/app/base.py index 15b5a1df..ac4a26bc 100644 --- a/radicale/app/base.py +++ b/radicale/app/base.py @@ -76,7 +76,7 @@ class ApplicationBase: logger.debug("Response content:\n%s", xmlutils.pretty_xml(xml_content)) else: - logger.debug("Response content: suppressed by config/option [auth] response_content_on_debug") + logger.debug("Response content: suppressed by config/option [logging] response_content_on_debug") f = io.BytesIO() ET.ElementTree(xml_content).write(f, encoding=self._encoding, xml_declaration=True) diff --git a/radicale/app/put.py b/radicale/app/put.py index e30c4e07..15a7e00d 100644 --- a/radicale/app/put.py +++ b/radicale/app/put.py @@ -150,7 +150,7 @@ class ApplicationPartPut(ApplicationBase): if self._log_bad_put_request_content: logger.warning("Bad PUT request content of %r:\n%s", path, content) else: - logger.debug("Bad PUT request content: suppressed by config/option [auth] bad_put_request_content") + logger.debug("Bad PUT request content: suppressed by config/option [logging] bad_put_request_content") return httputils.BAD_REQUEST (prepared_items, prepared_tag, prepared_write_whole_collection, prepared_props, prepared_exc_info) = prepare( diff --git a/radicale/httputils.py b/radicale/httputils.py index a9565293..04898b40 100644 --- a/radicale/httputils.py +++ b/radicale/httputils.py @@ -146,7 +146,7 @@ def read_request_body(configuration: "config.Configuration", if configuration.get("logging", "request_content_on_debug"): logger.debug("Request content:\n%s", content) else: - logger.debug("Request content: suppressed by config/option [auth] request_content_on_debug") + logger.debug("Request content: suppressed by config/option [logging] request_content_on_debug") return content