Re: [openstack-dev] Tip: jsonformatter site for parsing/debugging logs

2016-01-21 Thread gord chung
On 21/01/2016 11:27 AM, Doug Hellmann wrote: You can also do this using Python's json module from the command line: $ echo '{"json":"obj"}' | python -m json.tool { "json": "obj" } Doug very useful... if you want a site, i use http://pro.jsonlint.com/ (vladikr told me about it... he will

Re: [openstack-dev] Tip: jsonformatter site for parsing/debugging logs

2016-01-21 Thread Doug Hellmann
Excerpts from Matt Riedemann's message of 2016-01-21 10:09:32 -0600: > Are you tired of trying to strain your eyes to parse something like this > in the logs [1]? > > vif=VIF({'profile': {}, 'ovs_interfaceid': > u'ac3ca8e7-c22d-4f63-9620-ce031bf3eaac', 'preserve_on_delete': False, > 'network':

[openstack-dev] Tip: jsonformatter site for parsing/debugging logs

2016-01-21 Thread Matt Riedemann
Are you tired of trying to strain your eyes to parse something like this in the logs [1]? vif=VIF({'profile': {}, 'ovs_interfaceid': u'ac3ca8e7-c22d-4f63-9620-ce031bf3eaac', 'preserve_on_delete': False, 'network': Network({'bridge': u'br-int', 'subnets': [Subnet({'ips': [FixedIP({'meta': {},