]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Avoid printing log options multiple times
authorSalvatore Orlando <salv.orlando@gmail.com>
Fri, 24 Jul 2015 12:21:43 +0000 (05:21 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Fri, 24 Jul 2015 12:26:58 +0000 (05:26 -0700)
commit38ed9ba08e7cc3c8d650bd15cd986159a3c45a46
treef59bbc6167af89e44951d4afb9be6ea11212f827
parent95f88313444cd9eb40f0470d2733ab7ff1086fce
Avoid printing log options multiple times

This patch ensures log_opt_values is invoked only once, thus
avoiding annoying multiple dumps of options values.

Note that is rpc_workers is greater than 0 a second dump will
be logged. This patch does not address this as REST and RPC
servers are going to be separated as a part of the feature/pecan
work.

Closes-Bug: #1477975

Change-Id: Ia5dcb609241de6ad30d9831c5fb98a9e2be6ad7f
neutron/service.py
neutron/wsgi.py