Add logging config for compute nodes

Change-Id: I0a6a7bc992024d05f205b635589e84e4f1301ce9
Related-Prod: PROD-24350 (PROD:24350)
diff --git a/neutron/compute.sls b/neutron/compute.sls
index 9577550..e815410 100644
--- a/neutron/compute.sls
+++ b/neutron/compute.sls
@@ -29,6 +29,23 @@
       - user: user_neutron
   {%- endif %}
 
+{%- if compute.logging.log_appender %}
+neutron_compute_logging_conf:
+  file.managed:
+    - name: /etc/neutron/logging.conf
+    - source: salt://oslo_templates/files/logging/_logging.conf
+    - mode: 0640
+    - user: root
+    - group: neutron
+    - template: jinja
+    - makedirs: True
+    - defaults:
+        service_name: neutron
+        _data: {{ compute.logging }}
+    - user: neutron
+    - group: neutron
+{%- endif %}
+
   {% if compute.backend.engine == "ml2" %}
 
     {% if compute.get('dhcp_agent_enabled', False) %}