diff options
author | Dominik Mizyn <d.mizyn@partner.samsung.com> | 2020-08-21 13:10:11 +0200 |
---|---|---|
committer | Dominik Mizyn <d.mizyn@samsung.com> | 2020-09-02 12:49:28 +0200 |
commit | dd285d3cc77b54cd1a9f62521351630a1b62bc29 (patch) | |
tree | a72d8349361977a554822af3d426559cb6f916cd /kubernetes/cds/charts/cds-blueprints-processor | |
parent | b2fc50cd823f9dbbe5ce974e39b70124631c419d (diff) |
[CDS] Add logs to STDOUT
This commit change logging level of used loggers to "INFO" and root
logging level to "INFO"
Thanks to that we will see "info", "error" and "warn" messages.
Issue-ID: OOM-2514
Change-Id: I545e2ee69f1bcde7f7313fdda8f80e8201b7461c
Signed-off-by: Dominik Mizyn <d.mizyn@partner.samsung.com>
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 |