MDC Dynamic logging changes for a1mediator 64/6364/1
authorrangajal <ranjit.angajala@nokia.com>
Mon, 21 Jun 2021 17:33:48 +0000 (17:33 +0000)
committerrangajal <ranjit.angajala@nokia.com>
Mon, 21 Jun 2021 17:34:04 +0000 (17:34 +0000)
Change-Id: I68b41fee898d1630ec06fe74c1302bcb18a48303
Signed-off-by: rangajal <ranjit.angajala@nokia.com>
helm/a1mediator/templates/config.yaml
helm/a1mediator/templates/deployment.yaml
helm/a1mediator/templates/env.yaml
helm/a1mediator/values.yaml

index 97a07b3..3dc51af 100644 (file)
@@ -32,3 +32,5 @@ data:
     rte|20011|{{ include "common.servicename.a1mediator.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.a1mediator.rmr.data" . }}
     rte|20012|{{ include "common.servicename.a1mediator.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.a1mediator.rmr.data" . }}
     newrt|end
+  loglevel.txt: |
+    log-level: {{ .Values.loglevel }}
index 589eecd..a4023e7 100644 (file)
@@ -51,8 +51,7 @@ spec:
         - name: {{ include "common.containername.a1mediator" . }}
           volumeMounts:
           - name: a1conf
-            mountPath: /opt/route/local.rt
-            subPath: local.rt
+            mountPath: /opt/route
           envFrom:
             - configMapRef:
                 name: {{ include "common.configmapname.a1mediator" . }}-env
index 2361a4d..b2e3216 100644 (file)
@@ -27,3 +27,4 @@ data:
   RMR_SRC_ID: {{ include "common.servicename.a1mediator.rmr" . }}.{{ include "common.namespace.platform" . }}
   INSTANCE_DELETE_NO_RESP_TTL: "{{ .Values.a1mediator.rmr_timeout_config.ins_del_no_resp_ttl }}"
   INSTANCE_DELETE_RESP_TTL: "{{ .Values.a1mediator.rmr_timeout_config.ins_del_resp_ttl }}"
+  CONFIG_MAP_NAME: "/opt/route/loglevel.txt"
index 2c2f613..2790586 100644 (file)
@@ -38,3 +38,4 @@ a1mediator:
     a1_rcv_retry_times: 20
     ins_del_no_resp_ttl: 5
     ins_del_resp_ttl: 10
+  loglevel: "INFO"