]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix format errors seen in rpc logging
authorMaru Newby <marun@redhat.com>
Mon, 25 Nov 2013 17:35:54 +0000 (17:35 +0000)
committerMaru Newby <marun@redhat.com>
Wed, 27 Nov 2013 07:51:13 +0000 (07:51 +0000)
commit4fd4d490ac1e12b2bf835949447d21b64c641616
tree8b426d91ab88b30fc4b822476f946deb8cbfa15b
parent6810b62fbbfc7bbf2f9118b901d588af938ea98f
Fix format errors seen in rpc logging

The previous commit for this bug didn't include the 'project_name'
key in the context dict.  The missing key was causing the amqp
module to generate log formatting exceptions instead of normal
log output.

Separately, the context module itself was generating logging
exceptions in the quantum service when logging was attempted
before the context was fully initialized

Change-Id: I0f4c6f5a6804442932c9b2bd409a258cfc2419ff
Closes-Bug: #1254530
Related-Bug: #1239923
neutron/context.py
neutron/tests/unit/test_neutron_context.py