passing logging config to pod

Change-Id: Iee30a0e792351056124896eb566075c3dd96076d
diff --git a/omec/5g-control-plane/templates/configmap-webui.yaml b/omec/5g-control-plane/templates/configmap-webui.yaml
index f4581c3..9a63728 100644
--- a/omec/5g-control-plane/templates/configmap-webui.yaml
+++ b/omec/5g-control-plane/templates/configmap-webui.yaml
@@ -9,9 +9,16 @@
 {{- if not .Values.config.useExistingConfigMap -}}
 {{- $webuicfg := index .Values.config.webui.cfgFiles "webuicfg.conf" }}
 {{- $config := index $webuicfg "configuration" }}
+
+{{- if not (hasKey $webuicfg "logger") -}}
+{{- $_ := .Values.config.logger | set $webuicfg "logger" -}}
+{{- end }}
+
+
 {{- if not (hasKey $config "mongodb") -}}
 {{- $_ := dict "name" .Values.config.mongodb.name "url" .Values.config.mongodb.url | set $config "mongodb" -}}
 {{- end }}
+
 {{- end }}
 
 ---