Atom feed of this document
  
 日志和远程过程调用

该选项会配置网络服务器通过日志和 RPC 发送消息提醒。日志记录选项在 OpenStack Configuration Reference 中有介绍。RPC 消息提醒会转到 'notifications.info' 对列绑定到一个由 neutron.conf 中的 'control_exchange' 定义的话题交换中。

# ============ Notification System Options =====================

# Notifications can be sent when network/subnet/port are create, updated or deleted.
# There are three methods of sending notifications: logging (via the
# log_file directive), rpc (via a message queue) and
# noop (no notifications sent, the default)

# Notification_driver can be defined multiple times
# Do nothing driver
# notification_driver = neutron.openstack.common.notifier.no_op_notifier
# Logging driver
notification_driver = neutron.openstack.common.notifier.log_notifier
# RPC driver
notification_driver = neutron.openstack.common.notifier.rpc_notifier

# default_notification_level is used to form actual topic names or to set logging level
default_notification_level = INFO

# default_publisher_id is a part of the notification payload
# host = myhost.com
# default_publisher_id = $host

# Defined in rpc_notifier for rpc way, can be comma-separated values.
# The actual topic names will be %s.%(default_notification_level)s
notification_topics = notifications

# Options defined in oslo.messaging
#

# The default exchange under which topics are scoped. May be
# overridden by an exchange name specified in the
# transport_url option. (string value)
#control_exchange=openstack
Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...