]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix import log_handler error with publish_errors set
authorChang Bo Guo <guochbo@cn.ibm.com>
Wed, 6 Nov 2013 06:56:36 +0000 (22:56 -0800)
committerChang Bo Guo <guochbo@cn.ibm.com>
Fri, 17 Jan 2014 02:14:05 +0000 (18:14 -0800)
commitf29f812bc64726b01a50590894d6d430c5f3d30d
treec514ea290f0f76666e4901fe6f8fec7ea435707e
parent5be4620ae5bb50c8436de0e11269c85a095ed40b
Fix import log_handler error with publish_errors set

Sync latest module log_handler from Oslo.
Commit Id is 2843a92a0e4007f50d5ad63d51fe574e1ba5e280

This handler sends the error to configured notifier.
The notifier could be any kind (log, RPC, no_op, None).

Note: when using publish_errors you also need to set the
notification_driver option too.

Closes-bug: #1240349
Change-Id: I4f759b049b8f34904ba11382a2e8fc1578677a8f
cinder/openstack/common/log_handler.py [new file with mode: 0644]
openstack-common.conf