Remove amqp driver 'unpacked content' logging
Different OpenStack processes log that line when idle, but it doesn't offer actionable information to developers or users. Ideally process logs should be silent when idle, even in debug mode. Here's a sample: http://paste.openstack.org/show/201371/ Change-Id: Ib4f63d590a6f5ed295fae12dac12897007b12879
This commit is contained in:
parent
cf9468dfdb
commit
9ef3fa8201
@ -28,7 +28,6 @@ import logging
|
|||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_utils import strutils
|
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from oslo_messaging._drivers import common as rpc_common
|
from oslo_messaging._drivers import common as rpc_common
|
||||||
@ -204,10 +203,7 @@ def unpack_context(conf, msg):
|
|||||||
context_dict['msg_id'] = msg.pop('_msg_id', None)
|
context_dict['msg_id'] = msg.pop('_msg_id', None)
|
||||||
context_dict['reply_q'] = msg.pop('_reply_q', None)
|
context_dict['reply_q'] = msg.pop('_reply_q', None)
|
||||||
context_dict['conf'] = conf
|
context_dict['conf'] = conf
|
||||||
ctx = RpcContext.from_dict(context_dict)
|
return RpcContext.from_dict(context_dict)
|
||||||
LOG.debug(u'unpacked context: %s',
|
|
||||||
strutils.mask_password(six.text_type(ctx.to_dict())))
|
|
||||||
return ctx
|
|
||||||
|
|
||||||
|
|
||||||
def pack_context(msg, context):
|
def pack_context(msg, context):
|
||||||
|
Loading…
Reference in New Issue
Block a user