keystonemiddleware/keystonemiddleware
John Dennis 8b648488b2 Log TokenNotFound at INFO level instead of WARNING
Token expiration is normal, however the client logs fill up with these
ominous WARNING messages:

WARNING keystonemiddleware.auth_token [-] Authorization failed for token
WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "Could not find token: 24ffb14540c74a7c964f9627fe2af8fb", "code": 404, "title": "Not Found"}}

It seems more useful to log normal events at a level less than WARNING,
this would reduce the log size but more importantly it will help
elminate the concerns raised when logs are filled with WARNING messages
that are otherwise benign.

Change-Id: I54ad6b5530ee81616bd4a44f8295985f5d84c2ee
Closes-Bug: #1738300
Signed-off-by: John Dennis <jdennis@redhat.com>
2017-12-18 16:30:45 +00:00
..
_common Replace six.iteritems() with .items() 2017-07-12 13:43:55 +07:00
audit Update URLs in documentation 2017-07-20 16:38:16 +08:00
auth_token Log TokenNotFound at INFO level instead of WARNING 2017-12-18 16:30:45 +00:00
echo Replace six.iteritems() with .items() 2017-07-12 13:43:55 +07:00
locale Imported Translations from Zanata 2017-11-16 06:38:15 +00:00
tests Use oslo_cache in auth_token middleware 2017-12-01 16:36:40 -08:00
__init__.py Moving middleware to new location 2014-06-19 15:50:41 -07:00
ec2_token.py use oslo.log instead of logging 2017-01-13 03:24:18 +00:00
exceptions.py Create a Config object 2016-06-10 18:21:56 +00:00
fixture.py Remove use of positional decorator 2017-08-07 13:18:19 -07:00
i18n.py Update URLs in documentation 2017-07-20 16:38:16 +08:00
opts.py Move auth token opts calculation into auth_token 2016-06-13 14:03:23 -03:00
s3_token.py Rename auth_uri to www_authenticate_uri 2017-10-11 14:00:49 +02:00