--debug become too verbose [iso8601]

Bug #1441639 reported by Attila Fazekas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Low
Jimmy McCrory

Bug Description

I got too many not needed debug info regarding to the iso8601 date.

iso8601 version: (0.1.10)

$ nova --debug delete 3b745c2b-2783-4176-a140-fefd77703816 ef410a8a-ddb6-4f92-9ee4-2cb71b863529
DEBUG (session:195) REQ: curl -g -i -X GET http://172.16.32.36:35357/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:203) Starting new HTTP connection (1): 172.16.32.36
DEBUG (connectionpool:383) "GET /v2.0 HTTP/1.1" 200 339
DEBUG (session:224) RESP: [200] content-length: 339 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.10 (Fedora) OpenSSL/1.0.1k-fips mod_wsgi/4.3.2 Python/2.7.8 connection: Keep-Alive date: Wed, 08 Apr 2015 13:58:13 GMT content-type: application/json x-openstack-request-id: req-73d463c4-842d-4be0-803f-737ed1b9605c
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://172.16.32.36:35357/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}

DEBUG (v2:76) Making authentication request to http://172.16.32.36:35357/v2.0/tokens
DEBUG (connectionpool:383) "POST /v2.0/tokens HTTP/1.1" 200 5907
DEBUG (iso8601:184) Parsed 2015-04-08T14:58:13Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'14', 'daydash': u'08', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'13', 'tz_minute': None, 'year': u'2015', 'separator': u'T', 'monthdash': u'04', 'day': None, 'minute': u'58'} with default timezone <iso8601.iso8601.Utc object at 0x7f2d0758a4d0>
DEBUG (iso8601:140) Got u'2015' for 'year' with default None
DEBUG (iso8601:140) Got u'04' for 'monthdash' with default 1
DEBUG (iso8601:140) Got 4 for 'month' with default 4
DEBUG (iso8601:140) Got u'08' for 'daydash' with default 1
DEBUG (iso8601:140) Got 8 for 'day' with default 8
DEBUG (iso8601:140) Got u'14' for 'hour' with default None
DEBUG (iso8601:140) Got u'58' for 'minute' with default None
DEBUG (iso8601:140) Got u'13' for 'second' with default None

melanie witt (melwitt)
Changed in python-novaclient:
importance: Undecided → Low
status: New → Confirmed
Changed in python-novaclient:
assignee: nobody → Jimmy McCrory (jimmy-mccrory)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

Changed in python-novaclient:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/203443
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=a80ac8523a086ff469cc085bd253a7d9e83b31dc
Submitter: Jenkins
Branch: master

commit a80ac8523a086ff469cc085bd253a7d9e83b31dc
Author: Jimmy McCrory <email address hidden>
Date: Sun Jul 19 11:01:47 2015 -0700

    Set iso8601 log level to WARNING

    When debug logging is enabled, set the log level of iso8601 to WARNING
    to effectively silence its logging.

    Change-Id: I17d7e6d5776b2369a2f8c42fd88f6c6790ad1b80
    Closes-bug: #1441639

Changed in python-novaclient:
status: In Progress → Fix Committed
Changed in python-novaclient:
milestone: none → 2.27.0
status: Fix Committed → Fix Released
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.