[openstack-dev] iso8601 filling up nova logs

Ben Nemec openstack at nemebean.com
Mon Nov 11 17:52:07 UTC 2013


I didn't see a change yet for this, so I went ahead and submitted one: 
https://review.openstack.org/#/c/55882/

-Ben

On 2013-11-07 02:00, Davanum Srinivas wrote:
> +1 - looks like this is where you need to add it [1], if so, the
> change needs to be in oslo-incubator repo first [2], so please submit
> a review there
> 
> [1]
> https://github.com/openstack/nova/blob/master/nova/openstack/common/log.py#L128
> [2]
> https://github.com/openstack/oslo-incubator/blob/master/openstack/common/log.py#L130
> 
> On Thu, Nov 7, 2013 at 3:45 PM, Tracy Jones <tjones at vmware.com> wrote:
>> My nova logs are full of this - is it ok if I make a change to the 
>> default
>> log level to set iso8601 to WARN?
>> 
>> 2:39:54.683 DEBUG iso8601.iso8601 [-] Parsed 2013-11-06T06:38:00Z into
>> {'tz_sign': None, 'second_fraction': None, 'hour': u'06', 'tz_hour': 
>> None,
>> 'month': u'11', 'timezone': u'Z', 'second': u'00', 'tz_minute': None,
>> 'year': u'2013', 'separator': u'T', 'day': u'06', 'minute': u'38'} 
>> with
>> default timezone <iso8601.iso8601.Utc object at 0x2adcc90> from 
>> (pid=14941)
>> parse_date 
>> /usr/local/lib/python2.7/dist-packages/iso8601/iso8601.py:166
>> 2013-11-05 22:39:54.684 DEBUG iso8601.iso8601 [-] Got u'2013' for 
>> 'year'
>> with default None from (pid=14941) to_int
>> /usr/local/lib/python2.7/dist-packages/iso8601/iso8601.py:124
>> 2013-11-05 22:39:54.684 DEBUG iso8601.iso8601 [-] Got u'11' for 
>> 'month' with
>> default None from (pid=14941) to_int
>> /usr/local/lib/python2.7/dist-packages/iso8601/iso8601.py:124
>> 2013-11-05 22:39:54.684 DEBUG iso8601.iso8601 [-] Got u'06' for 'day' 
>> with
>> default None from (pid=14941) to_int
>> /usr/local/lib/python2.7/dist-packages/iso8601/iso8601.py:124
>> 2013-11-05 22:39:54.685 DEBUG iso8601.iso8601 [-] Got u'06' for 'hour' 
>> with
>> default None from (pid=14941) to_int
>> /usr/local/lib/python2.7/dist-packages/iso8601/iso8601.py:124
>> 2013-11-05 22:39:54.685 DEBUG iso8601.iso8601 [-] Got u'38' for 
>> 'minute'
>> with default None from (pid=14941) to_int
>> /usr/local/lib/python2.7/dist-packages/iso8601/iso8601.py:124
>> 2013-11-05 22:39:54.685 DEBUG iso8601.iso8601 [-] Got u'00' for 
>> 'second'
>> with default None from (pid=14941) to_int
>> /usr/local/lib/python2.7/dist-packages/iso8601/iso8601.py:124
>> 2013-11-05 22:39:54.686 DEBUG iso8601.iso8601 [-] Parsed 2013-11-0
>> 
>> 
>> 
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>> 



More information about the OpenStack-dev mailing list