Correct neutron.log file permissions during upgrade

PROD-34461

Change-Id: I84f700f6f6193beef57c365dbe6883783b387ed2
diff --git a/neutron/upgrade/pre/init.sls b/neutron/upgrade/pre/init.sls
index 17e830f..7b208c1 100644
--- a/neutron/upgrade/pre/init.sls
+++ b/neutron/upgrade/pre/init.sls
@@ -13,3 +13,19 @@
     - user: 'root'
     - group: 'root'
     - makedirs: True
+
+{%- if server.enabled %}
+  {%- set _data = server %}
+  {%- set type = 'server' %}
+{%- elif gateway.enabled %}
+  {%- set _data = gateway %}
+  {%- set type = 'gateway' %}
+{%- endif %}
+
+{%- if _data is defined and _data.get('logging', {}).app_name is defined %}
+{{ type }}_var_log_{{ _data.logging.app_name }}_log_file:
+  file.managed:
+    - name: /var/log/{{ _data.logging.app_name }}/neutron.log
+    - user: neutron
+    - group: neutron
+{%- endif %}