Auth_token middleware logs env at warning level for missing auth token

Bug #1028683 reported by Maru Newby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Nachiappan

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?

Joseph Heck (heckj)
Changed in keystone:
status: New → Triaged
importance: Undecided → Medium
Nachiappan (nachiappan)
Changed in keystone:
assignee: nobody → Nachiappan (nachiappan-veerappan-nachiappan)
status: Triaged → In Progress
Nachiappan (nachiappan)
Changed in keystone:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote :

Do not set to FixReleased until it appears in a published development milestone.

Changed in keystone:
status: Fix Released → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: grizzly-3 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.