add suppress log messages
This commit is contained in:
@@ -145,6 +145,8 @@ def read_request_body(configuration: "config.Configuration",
|
||||
read_raw_request_body(configuration, environ))
|
||||
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")
|
||||
return content
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user