Default log level of iso8601 should be set to WARN

Bug #1284412 reported by Liusheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Low
Liusheng

Bug Description

In openstack.common.log, the iso8601's default log level is WARN. But ceilometer doesn't set WARN as default log level of iso8601. This may cause a lot of DEBUG level message recorded in log files if we haven't configured this in ceilometer.conf,like this:

2014-02-25 10:01:50.853 24698 DEBUG iso8601.iso8601 [-] Got u'25' for 'day' with default None to_int /usr/local/lib/python2.7/dist-packages/iso8601/iso8601.py:124
2014-02-25 10:01:50.854 24698 DEBUG iso8601.iso8601 [-] Got u'02' for 'hour' with default None to_int /usr/local/lib/python2.7/dist-packages/iso8601/iso8601.py:124
2014-02-25 10:01:50.854 24698 DEBUG iso8601.iso8601 [-] Got u'01' for 'minute' with default None to_int /usr/local/lib/python2.7/dist-packages/iso8601/iso8601.py:124
2014-02-25 10:01:50.854 24698 DEBUG iso8601.iso8601 [-] Got u'50' for 'second' with default None to_int /usr/local/lib/python2.7/dist-packages/iso8601/iso8601.py:124

The default log level of iso8601 in ceilometer should be set to WARN.

Liusheng (liusheng)
Changed in ceilometer:
assignee: nobody → Liusheng (liusheng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

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

Changed in ceilometer:
status: New → In Progress
gordon chung (chungg)
Changed in ceilometer:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/76075
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=b3b14a8605068602e8749a48c25c02aeb252e0be
Submitter: Jenkins
Branch: master

commit b3b14a8605068602e8749a48c25c02aeb252e0be
Author: liu-sheng <email address hidden>
Date: Tue Feb 25 10:49:05 2014 +0800

    Set default log level of iso8601 to WARN

    In openstack.common.log, the iso8601's default log level is WARN.
    But ceilometer doesn't set WARN as default log level of iso8601.
    This may cause a lot of DEBUG level message recorded in log files if we
    haven't configured the default log level in ceilometer.conf.

    Change-Id: I8edbcd5f0885b424c70483180b479588bca254a2
    Closes-Bug: #1284412

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: none → icehouse-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: icehouse-3 → 2014.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.