← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1028683] Re: Auth_token middleware logs env at warning level for missing auth token

 

** Changed in: keystone
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1028683

Title:
  Auth_token middleware logs env at warning level for missing auth token

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  The auth_token middleware logs the request env whenever an auth token
  is not found in the headers:

  https://github.com/openstack/keystone/blob/master/keystone/middleware/auth_token.py#L238

  Since any production system is likely to have the log level set to
  warning or above, this results in unnecessary log messages for valid
  token-less requests (e.g. swift container sync, other auth mechanisms,
  etc).

  If the env is to be logged, could it be at a lower level?  Or perhaps
  not logged at all if delay_auth_decision is set?

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1028683/+subscriptions