From 00e94b73e188eb3d5a17b8cb7629b2cad16f5ae5 Mon Sep 17 00:00:00 2001 From: Pete Zaitcev Date: Fri, 3 Mar 2017 21:33:08 -0700 Subject: 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 --- keystonemiddleware/auth_token/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ' -- cgit v1.2.1