diff --git a/doc/source/admin/config-logging.rst b/doc/source/admin/config-logging.rst index 7e5ef297666..7d4aee002d8 100644 --- a/doc/source/admin/config-logging.rst +++ b/doc/source/admin/config-logging.rst @@ -41,6 +41,11 @@ To enable the logging service, follow the below steps. [agent] extensions = log + .. note:: + + Fwaas v2 log is currently only supported by openvswitch, the firewall + logging driver of linuxbridge is not implemented. + #. To enable logging service for ``firewall_group`` in Layer 3, add ``fwaas_v2_log`` to option ``extensions`` in section ``[AGENT]`` in ``/etc/neutron/l3_agent.ini`` for network nodes. For example: @@ -51,8 +56,8 @@ To enable the logging service, follow the below steps. extensions = fwaas_v2,fwaas_v2_log #. On compute/network nodes, add configuration for logging service to - ``[network_log]`` in ``/etc/neutron/plugins/ml2/openvswitch_agent.ini`` as - shown bellow: + ``[network_log]`` in ``/etc/neutron/plugins/ml2/openvswitch_agent.ini`` and in + ``/etc/neutron/l3_agent.ini`` as shown bellow: .. code-block:: ini diff --git a/neutron/opts.py b/neutron/opts.py index cb539276298..9d242f56496 100644 --- a/neutron/opts.py +++ b/neutron/opts.py @@ -218,6 +218,8 @@ def list_l3_agent_opts(): ), ('agent', neutron.conf.agent.agent_extensions_manager.AGENT_EXT_MANAGER_OPTS), + ('network_log', + neutron.conf.services.logging.log_driver_opts) ]