]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Disable oslo.messaging debug logs
authorJoe Gordon <joe.gordon0@gmail.com>
Mon, 24 Mar 2014 21:44:27 +0000 (14:44 -0700)
committerThomas Goirand <thomas@goirand.fr>
Mon, 9 Jun 2014 14:08:50 +0000 (22:08 +0800)
oslo.messaging debug logs are too verbose, turn them off. A similar patch
dropped nova-conductor logs in the gate down from 7MB to under 300K.

Cherry-Pick from oslo-incubator since we are in feature freeze:
Ia12c003dae196e2220a5f6ea768758a75f2ede23 and
Icc61964c6a2b002ac1c8566f174e6a5230674c75

Closes-Bug: #1309626
(cherry picked from commit a24192d90938ea89b8f20132de60e6ad3a4ad447)
Change-Id: I9e6456f1c979d9a57fc7fa93fb290c6a26017373

cinder/openstack/common/log.py
etc/cinder/cinder.conf.sample

index 59d08a2f1890643bf2b57f0767af43950d84a315..0898b4b9266f960bb215f09888965330ffb5441e 100644 (file)
@@ -163,6 +163,7 @@ log_opts = [
                     'qpid=WARN',
                     'sqlalchemy=WARN',
                     'suds=INFO',
+                    'oslo.messaging=INFO',
                     'iso8601=WARN',
                     'requests.packages.urllib3.connectionpool=WARN'
                 ],
index 380db99371111feb6b43696402c4f320a699ab25..d0f4eb55cc5cb58c5b9f013c55f641d357046f35 100644 (file)
 #logging_exception_prefix=%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s
 
 # List of logger=LEVEL pairs (list value)
-#default_log_levels=amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN
+#default_log_levels=amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN
 
 # Publish error events (boolean value)
 #publish_errors=false