Verified Commit dd623f13 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

set debug level via envvar

parent d573be28
Pipeline #43101 passed with stages
in 5 minutes and 46 seconds
......@@ -5,6 +5,8 @@ k8sRequestsMemory: "1Gi"
k8sLimitsCpu: "1"
k8sLimitsMemory: "11Gi"
debugLevel: "warn"
kafkaConfigs: prod-kafka-bootstrap-servers
inputTopicName: mb-di-processed-records-prod
reportingTopicName: mb-di-reporting-prod
......
......@@ -5,6 +5,8 @@ k8sRequestsMemory: "1Gi"
k8sLimitsCpu: "1"
k8sLimitsMemory: "11Gi"
debugLevel: "warn"
kafkaConfigs: prod-kafka-bootstrap-servers
inputTopicName: mb-di-processed-records-stage
reportingTopicName: mb-di-reporting-stage
......
......@@ -5,6 +5,8 @@ k8sRequestsMemory: "1Gi"
k8sLimitsCpu: "1"
k8sLimitsMemory: "4Gi"
debugLevel: "debug"
kafkaConfigs: test-kafka-bootstrap-servers
inputTopicName: mb-di-processed-records-prod
reportingTopicName: mb-di-reporting-prod
......
......@@ -4,6 +4,7 @@ metadata:
name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-config"
namespace: "{{ .Values.k8sNamespace }}"
data:
DEBUG_LEVEL: "{{ .Values.debugLevel }}"
TOPIC_IN: "{{ .Values.inputTopicName }}"
TOPIC_PROCESS: "{{ .Values.reportingTopicName }}"
CLIENT_ID: "{{ .Values.clientId }}"
......
......@@ -13,6 +13,8 @@ k8sRequestsMemory: placeholder
k8sLimitsCpu: placeholder
k8sLimitsMemory: placeholder
debugLevel: placeholder
kafkaConfigs: placeholder
inputTopicName: placeholder
reportingTopicName: placeholder
......
......@@ -24,8 +24,11 @@
</Console>
</Appenders>
<Loggers>
<Root level="info">
<Root level="${env:DEBUG_LEVEL:-warn}">
<AppenderRef ref="STDOUT"/>
</Root>
<Logger name="org.apache.kafka" level="warn">
<AppenderRef ref="STDOUT"/>
</Logger>
</Loggers>
</Configuration>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment