Pecan logging config duplicates oslo logging config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Mark McLoughlin | ||
Grizzly |
Fix Released
|
Medium
|
Eoghan Glynn | ||
Ironic |
Fix Released
|
Medium
|
Mark McLoughlin |
Bug Description
Playing with Ironic, I was confused to see duplicate log entries and I also see them in Ceilometer:
$> ceilometer-api --debug
...
2013-05-28 08:10:46,535 DEBUG [ceilometer.
2013-05-28 08:10:46 DEBUG [ceilometer.
2013-05-28 08:10:46,540 INFO [ceilometer.
2013-05-28 08:10:46 INFO [ceilometer.
The issue here is that we're using pecan to configure logging for the 'ceilometer' and 'ironic' loggers, even though we use oslo logging to configure the root logger
Removing the pecan logging configuration completely fixes the issue for me and, conceptually, I don't see why we need both ... oslo logging configuration should do everything we need?
Changed in ceilometer: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
tags: | added: grizzly-backport-potential |
tags: | removed: grizzly-backport-potential in-stable-grizzly |
Changed in ceilometer: | |
milestone: | havana-1 → 2013.2 |
Changed in ironic: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | icehouse-1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/30697
Review: https:/