Bump the token deferral message from info to debug

In Swift, we have a public access endpoint "/info", which
returns basics like version number, maximum object name length,
and such. When a user accesses it, the request travels the
pipeline, including authtoken, and since it has no valid token,
a message is logged. At some installations, monitoring agents
poll "/info" to see if Swift is up, and this floods the logs.

It would be best for us to dispose with this message altogether,
but I am concerned that operators of other services may find
this message useful. So, let's only mark it as a debug level.

Change-Id: I77abc3809a91e381b7650a9955046fe6d72a8089
This commit is contained in:
Pete Zaitcev 2017-03-03 21:33:08 -07:00
parent 124caad93e
commit 00e94b73e1
1 changed files with 1 additions and 1 deletions

View File

@ -638,7 +638,7 @@ class AuthProtocol(BaseAuthProtocol):
if not (user_status and service_status == 'Confirmed'):
if self._delay_auth_decision:
self.log.info(_LI('Deferring reject downstream'))
self.log.debug('Deferring reject downstream')
else:
self.log.info(_LI('Rejecting request'))
message = _('The request you have made requires '