s3 middleware depends on swift
Bug #1178738 reported by
Adam Young
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Kun Huang |
Bug Description
The s3 middleware imports:
from swift.common import utils as swift_utils
This is used to initiate the logging:
https:/
self.logger = swift_utils.
howerver, python has a standard logging framework, and we should not be bypassing that. It is up to the project that imports the middleware to set up logging properly, not up to the middleware to conform to multiple projects.
THis requires two things: 1, on the swift side, set up the custom logging using the standard python mechanism, and 2 getting this middleware to use the python logging framework.
Changed in keystone: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
the other place swift utils is used in this file is:
parts = swift_utils. split_path( req.path, 1, 4, True)
which can easily be replaced as well.