From 39e8581bee5a7674fea6773dd06de87c1ff32784 Mon Sep 17 00:00:00 2001 From: Krzysztof Opasiak Date: Wed, 2 Sep 2020 06:24:19 +0000 Subject: Revert "[AAI] Add logs to STDOUT" This reverts commit befaa5500924f9ebda0b4bf65d8d6ab5a9f0745a. Reason for revert: Breaks the AAI HC Change-Id: Ie401f7bdc7408ce1171bc055a3e46cb610bd52c0 --- components/aai-babel/requirements.yaml | 3 +- components/aai-babel/resources/config/logback.xml | 85 +++++++++------------- .../resources/fproxy/config/logback-spring.xml | 12 +-- .../resources/rproxy/config/logback-spring.xml | 12 +-- components/aai-babel/values.yaml | 26 ------- 5 files changed, 48 insertions(+), 90 deletions(-) (limited to 'components/aai-babel') diff --git a/components/aai-babel/requirements.yaml b/components/aai-babel/requirements.yaml index 5fcafdb..8297688 100644 --- a/components/aai-babel/requirements.yaml +++ b/components/aai-babel/requirements.yaml @@ -1,6 +1,5 @@ # Copyright © 2018 Amdocs, AT&T # Modifications Copyright © 2018 Bell Canada -# Modifications Copyright © 2020 Samsung Electronics # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -20,4 +19,4 @@ dependencies: # local reference to common chart, as it is # a part of this chart's package and will not # be published independently to a repo (at this point) - repository: '@local' \ No newline at end of file + repository: '@local' diff --git a/components/aai-babel/resources/config/logback.xml b/components/aai-babel/resources/config/logback.xml index b8e8ad0..878d8c0 100644 --- a/components/aai-babel/resources/config/logback.xml +++ b/components/aai-babel/resources/config/logback.xml @@ -1,7 +1,6 @@ @@ -28,13 +27,6 @@ - - - - - - - @@ -44,9 +36,6 @@ - - - @@ -142,72 +131,64 @@ false - - - ${consolePattern} - - + + + + + + + + + - - + + - - + + - - + + - - + + - + - - - + + + - - + + - - - - - - - - + + + + + + + - - - - - - - - - - - - - + + diff --git a/components/aai-babel/resources/fproxy/config/logback-spring.xml b/components/aai-babel/resources/fproxy/config/logback-spring.xml index aa37596..0637cfb 100644 --- a/components/aai-babel/resources/fproxy/config/logback-spring.xml +++ b/components/aai-babel/resources/fproxy/config/logback-spring.xml @@ -4,10 +4,12 @@ - - {{ .Values.log.consolePattern.babel.froxy }} + + %d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable + @@ -32,12 +34,12 @@ - + - + - + \ No newline at end of file diff --git a/components/aai-babel/resources/rproxy/config/logback-spring.xml b/components/aai-babel/resources/rproxy/config/logback-spring.xml index 368367d..2cd95d4 100644 --- a/components/aai-babel/resources/rproxy/config/logback-spring.xml +++ b/components/aai-babel/resources/rproxy/config/logback-spring.xml @@ -4,10 +4,12 @@ - - {{ .Values.log.consolePattern.babel.rproxy }} + + %d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable + @@ -32,12 +34,12 @@ - + - + - + diff --git a/components/aai-babel/values.yaml b/components/aai-babel/values.yaml index d2eeb6c..6f2c033 100644 --- a/components/aai-babel/values.yaml +++ b/components/aai-babel/values.yaml @@ -68,32 +68,6 @@ ingress: config: ssl: "redirect" -log: - logDir: {{ .Values.log.logDir }} - root: - level: {{ .Values.log.root.level.babel }} - consolePattern: - babel: - config: {{ .Values.log.consolePattern.babel.config }} - froxy: {{ .Values.log.consolePattern.babel.froxy }} - rproxy: {{ .Values.log.consolePattern.babel.rproxy }} - logger: - apache: {{ .Values.log.logger.apache }} - apacheCamel: {{ .Values.log.logger.apacheCamel }} - apacheCamelComponentRestlet: {{ .Values.log.logger.apacheCamelComponentRestlet }} - apacheCamelProcessorInterceptor: {{ .Values.log.logger.apacheCamelProcessorInterceptor }} - apacheCommons: {{ .Values.log.logger.apacheCommons }} - apacheCxf: {{ .Values.log.logger.apacheCxf }} - apacheCxfJaxrsInterceptor: {{ .Values.log.logger.apacheCxfJaxrsInterceptor }} - apacheCxfService: {{ .Values.log.logger.apacheCxfService }} - att: {{ .Values.log.logger.att }} - qosLogbackClassic: {{ .Values.log.logger.qosLogbackClassic }} - qosLogbackCore: {{ .Values.log.logger.qosLogbackCore }} - restlet: {{ .Values.log.logger.restlet }} - springframework: {{ .Values.log.logger.springframework }} - springframeworkBeans: {{ .Values.log.logger.springframeworkBeans }} - springframeworkWeb: {{ .Values.log.logger.springframeworkWeb }} - resources: small: limits: -- cgit 1.2.3-korg