diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-09-03 14:59:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-03 14:59:10 +0000 |
commit | df63472f4a01598dc71b7e8a458726c8590d8b41 (patch) | |
tree | 288efa7ceb5650102d66656d8a7efe4679e492b1 /kubernetes/cds/charts/cds-blueprints-processor | |
parent | 8bdf47ac952a77de2b9b7501028eea4376be2dda (diff) | |
parent | dd285d3cc77b54cd1a9f62521351630a1b62bc29 (diff) |
Merge "[CDS] Add logs to STDOUT"
Diffstat (limited to 'kubernetes/cds/charts/cds-blueprints-processor')
-rwxr-xr-x | kubernetes/cds/charts/cds-blueprints-processor/resources/config/logback.xml | 12 | ||||
-rwxr-xr-x | kubernetes/cds/charts/cds-blueprints-processor/values.yaml | 9 |
2 files changed, 15 insertions, 6 deletions
diff --git a/kubernetes/cds/charts/cds-blueprints-processor/resources/config/logback.xml b/kubernetes/cds/charts/cds-blueprints-processor/resources/config/logback.xml index 349336ee79..88ac8d98df 100755 --- a/kubernetes/cds/charts/cds-blueprints-processor/resources/config/logback.xml +++ b/kubernetes/cds/charts/cds-blueprints-processor/resources/config/logback.xml @@ -30,13 +30,13 @@ </encoder> </appender> - <logger name="org.springframework" level="info"/> - <logger name="org.springframework.web" level="info"/> - <logger name="org.springframework.security.web.authentication" level="warn"/> - <logger name="org.hibernate" level="error"/> - <logger name="org.onap.ccsdk.cds" level="info"/> + <logger name="org.springframework" level="{{ .Values.logback.logger.springframework }}"/> + <logger name="org.springframework.web" level="{{ .Values.logback.logger.springframeworkWeb }}"/> + <logger name="org.springframework.security.web.authentication" level="{{ .Values.logback.logger.springframeworkSecurityWebauthentication }}"/> + <logger name="org.hibernate" level="{{ .Values.logback.logger.hibernate }}"/> + <logger name="org.onap.ccsdk.cds" level="{{ .Values.logback.logger.onapCcsdkCds }}"/> - <root level="info"> + <root level="{{ .Values.logback.rootLogLevel }}"> <appender-ref ref="STDOUT"/> </root> diff --git a/kubernetes/cds/charts/cds-blueprints-processor/values.yaml b/kubernetes/cds/charts/cds-blueprints-processor/values.yaml index 2de835492f..933c56dca4 100755 --- a/kubernetes/cds/charts/cds-blueprints-processor/values.yaml +++ b/kubernetes/cds/charts/cds-blueprints-processor/values.yaml @@ -159,6 +159,15 @@ ingress: config: ssl: "none" +logback: + rootLogLevel: INFO + logger: + springframework: INFO + springframeworkWeb: INFO + springframeworkSecurityWebauthentication: INFO + hibernate: INFO + onapCcsdkCds: INFO + resources: {} # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little |