log on_notice_condition: read config values
This commit is contained in:
@@ -130,6 +130,14 @@ class Application(ApplicationPartDelete, ApplicationPartHead,
|
||||
logger.debug("log request content on debug: %s", self._request_content_on_debug)
|
||||
logger.debug("log response header on debug: %s", self._response_header_on_debug)
|
||||
logger.debug("log response content on debug: %s", self._response_content_on_debug)
|
||||
self._request_header_on_notice_condition = configuration.get("logging", "request_header_on_notice_condition")
|
||||
self._request_content_on_notice_condition = configuration.get("logging", "request_content_on_notice_condition")
|
||||
self._response_header_on_notice_condition = configuration.get("logging", "response_header_on_notice_condition")
|
||||
self._response_content_on_notice_condition = configuration.get("logging", "response_content_on_notice_condition")
|
||||
logger.notice("log request header on notice condition: %s", self._request_header_on_notice_condition)
|
||||
logger.notice("log request content on notice condition: %s", self._request_content_on_notice_condition)
|
||||
logger.notice("log response header on notice condition: %s", self._response_header_on_notice_condition)
|
||||
logger.notice("log response content on notice condition: %s", self._response_content_on_notice_condition)
|
||||
self._limit_content = configuration.get("logging", "limit_content")
|
||||
logger.debug("log limit for content: %d", self._limit_content)
|
||||
self._auth_delay = configuration.get("auth", "delay")
|
||||
|
||||
Reference in New Issue
Block a user