diff options
author | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2017-03-03 21:33:08 -0700 |
---|---|---|
committer | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2017-03-03 21:33:08 -0700 |
commit | 00e94b73e188eb3d5a17b8cb7629b2cad16f5ae5 (patch) | |
tree | 2080d920e37ced023bcf3186bb9c6f3db605c136 | |
parent | 124caad93eeeb92f901aca5d899a434809c639a8 (diff) | |
download | keystonemiddleware-00e94b73e188eb3d5a17b8cb7629b2cad16f5ae5.tar.gz |
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
-rw-r--r-- | keystonemiddleware/auth_token/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keystonemiddleware/auth_token/__init__.py b/keystonemiddleware/auth_token/__init__.py index 970f2f6..84c2830 100644 --- a/keystonemiddleware/auth_token/__init__.py +++ b/keystonemiddleware/auth_token/__init__.py @@ -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 ' |