summaryrefslogtreecommitdiffstats
path: root/components/aai-resources/resources/rproxy
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-09-02 06:24:19 +0000
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-09-02 06:24:19 +0000
commit39e8581bee5a7674fea6773dd06de87c1ff32784 (patch)
treee547609ce61be841e8129251b0411004fcb278bf /components/aai-resources/resources/rproxy
parentbefaa5500924f9ebda0b4bf65d8d6ab5a9f0745a (diff)
Revert "[AAI] Add logs to STDOUT"
This reverts commit befaa5500924f9ebda0b4bf65d8d6ab5a9f0745a. Reason for revert: Breaks the AAI HC Change-Id: Ie401f7bdc7408ce1171bc055a3e46cb610bd52c0
Diffstat (limited to 'components/aai-resources/resources/rproxy')
-rw-r--r--components/aai-resources/resources/rproxy/config/logback-spring.xml16
1 files changed, 9 insertions, 7 deletions
diff --git a/components/aai-resources/resources/rproxy/config/logback-spring.xml b/components/aai-resources/resources/rproxy/config/logback-spring.xml
index c0c506a..799fd86 100644
--- a/components/aai-resources/resources/rproxy/config/logback-spring.xml
+++ b/components/aai-resources/resources/rproxy/config/logback-spring.xml
@@ -4,10 +4,12 @@
<property name="LOGS" value="./logs/reverse-proxy" />
<property name="FILEPREFIX" value="application" />
- <appender name="STDOUT"
+ <appender name="Console"
class="ch.qos.logback.core.ConsoleAppender">
<layout class="ch.qos.logback.classic.PatternLayout">
- <Pattern>{{ .Values.log.consolePattern.rproxy }}</Pattern>
+ <Pattern>
+ %d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable
+ </Pattern>
</layout>
</appender>
@@ -30,14 +32,14 @@
</timeBasedFileNamingAndTriggeringPolicy>
</rollingPolicy>
</appender>
-
+
<!-- LOG everything at INFO level -->
- <root level="{{.Values.logback.rootLogLevelrproxy}}">
+ <root level="info">
<appender-ref ref="RollingFile" />
- <appender-ref ref="STDOUT" />
+ <appender-ref ref="Console" />
</root>
-
+
<!-- LOG "com.baeldung*" at TRACE level -->
<logger name="org.onap.aaf.rproxy" level="info" />
-
+
</configuration>