Fix logging level for keystone auth bypass
For some paths (version discovery) we don't require keystone authentication.
Previously each hit to these paths logged an INFO level message for the access.
However, some users were using / for their API health monitoring which led
to excessive log entries.
This patch changes this logging level down to DEBUG.
Change-Id: I68a6b66ddb2bf184528f11e73f411e0301f162e7
Story: 2001743
Task: 12150
(cherry picked from commit 02a60c7373
)
This commit is contained in:
parent
a0fe2ec269
commit
e2f9d1202a
|
@ -63,7 +63,7 @@ class SkippingAuthProtocol(auth_token.AuthProtocol):
|
|||
def process_request(self, request):
|
||||
path = request.path
|
||||
if path in _NOAUTH_PATHS:
|
||||
LOG.info(('Request path is %s and it does not require keystone '
|
||||
LOG.debug(('Request path is %s and it does not require keystone '
|
||||
'authentication'), path)
|
||||
return None # return NONE to reach actual logic
|
||||
|
||||
|
|
Loading…
Reference in New Issue