HTTPD keystone.py wsgi script still referencing logging.DEBUG

Bug #1220012 reported by Morgan Fainberg on 2013-09-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Medium
Morgan Fainberg

Bug Description

The HTTPD keystone.py script is still referencing logging.DEBUG on line 46: https://github.com/openstack/keystone/blob/master/httpd/keystone.py#L46

Since the move to oslo logging, this is no longer valid (as oslo log does not expose the DEBUG level in this manner).

This will cause a failure in loading the WSGI application from HTTPD.

Fix proposed to branch: master
Review: https://review.openstack.org/44776

Changed in keystone:
assignee: nobody → Morgan Fainberg (mdrnstm)
status: New → In Progress
Changed in keystone:
importance: Undecided → Low
Changed in keystone:
importance: Low → Medium

Reviewed: https://review.openstack.org/44776
Committed: http://github.com/openstack/keystone/commit/d98dca9f983e8fbee21d874c22170952f7d781c2
Submitter: Jenkins
Branch: master

commit d98dca9f983e8fbee21d874c22170952f7d781c2
Author: Morgan Fainberg <email address hidden>
Date: Mon Sep 2 17:07:32 2013 -0700

    Update keystone wsgi httpd script for oslo logging

    When updating to the oslo logging module, it appears that this script
    was missed, and erroneously still references .DEBUG, which is not
    available in the oslo logging module. This commit corrects the issue
    and updates the reference to oslo log module to not be aliased to
    "logging".

    The extra logic to set the debug on the instantiated logger is still
    needed to ensure all logging is seen (startup config logging, etc).

    fixes-bug: 1220012
    Change-Id: If5b4f9f28cb9d05f914848cbdb54b10c2c5f3b2d

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-09-05
Changed in keystone:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in keystone:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers