logging doesn't support differing log_levels for the same log_name
Bug #712147 reported by
gholt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Low
|
gholt |
Bug Description
Logging doesn't currently support different log_levels for the same log_name. For instance, if you configure log_level = INFO for the app:proxy-server and log_level = DEBUG for the filter:swauth only one will "win" and get the log_level it wants.
Related branches
lp:~gholt/swift/logroutes
- clayg: Approve
-
Diff: 501 lines (+48/-44)33 files modifiedbin/swift-account-stats-logger (+1/-1)
bin/swift-drive-audit (+2/-1)
bin/swift-log-uploader (+1/-1)
swift/account/auditor.py (+1/-1)
swift/account/reaper.py (+1/-1)
swift/account/server.py (+1/-1)
swift/auth/server.py (+1/-1)
swift/common/daemon.py (+2/-2)
swift/common/db.py (+2/-2)
swift/common/db_replicator.py (+1/-1)
swift/common/middleware/catch_errors.py (+1/-5)
swift/common/middleware/cname_lookup.py (+1/-1)
swift/common/middleware/ratelimit.py (+1/-1)
swift/common/middleware/swauth.py (+1/-1)
swift/common/utils.py (+2/-0)
swift/common/wsgi.py (+1/-1)
swift/container/auditor.py (+1/-1)
swift/container/server.py (+1/-1)
swift/container/updater.py (+1/-1)
swift/obj/auditor.py (+1/-1)
swift/obj/replicator.py (+1/-1)
swift/obj/server.py (+1/-1)
swift/obj/updater.py (+1/-1)
swift/proxy/server.py (+1/-1)
swift/stats/access_processor.py (+1/-1)
swift/stats/account_stats.py (+2/-1)
swift/stats/log_processor.py (+2/-2)
swift/stats/log_uploader.py (+3/-2)
swift/stats/stats_processor.py (+1/-1)
test/unit/auth/test_server.py (+2/-2)
test/unit/common/test_daemon.py (+2/-2)
test/unit/common/test_utils.py (+5/-3)
test/unit/obj/test_auditor.py (+2/-1)
Changed in swift: | |
assignee: | nobody → gholt (gholt) |
status: | New → In Progress |
importance: | Undecided → Low |
milestone: | none → 1.3.0 |
Changed in swift: | |
status: | In Progress → Fix Committed |
Changed in swift: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.