From: Joe Gordon Date: Mon, 24 Mar 2014 21:44:27 +0000 (-0700) Subject: Disable oslo.messaging debug logs X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=cd5b0c8b4f9c4aa43ff9ee546b34eb848aa7a0e2;p=openstack-build%2Fcinder-build.git Disable oslo.messaging debug logs 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 --- diff --git a/cinder/openstack/common/log.py b/cinder/openstack/common/log.py index 59d08a2f1..0898b4b92 100644 --- a/cinder/openstack/common/log.py +++ b/cinder/openstack/common/log.py @@ -163,6 +163,7 @@ log_opts = [ 'qpid=WARN', 'sqlalchemy=WARN', 'suds=INFO', + 'oslo.messaging=INFO', 'iso8601=WARN', 'requests.packages.urllib3.connectionpool=WARN' ], diff --git a/etc/cinder/cinder.conf.sample b/etc/cinder/cinder.conf.sample index 380db9937..d0f4eb55c 100644 --- a/etc/cinder/cinder.conf.sample +++ b/etc/cinder/cinder.conf.sample @@ -753,7 +753,7 @@ #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