aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-11-07 13:28:03 -0500
committerVenkata Harish K Kajur <vk250x@att.com>2017-11-07 13:28:48 -0500
commit555ce706e020e6428df73f2d9c6cf95e39fdb3b3 (patch)
treedaaf66f6462b79c537d1c52faa7c4fcaf5fa6507
parent609097f7f12c182ebeb89506ea9bbbd624feb635 (diff)
Change the logback to remove jsonpath extra logsv1.1.01.0.0-ONAP1.0.0-Amsterdam
Also add the query parameters to access log Issue-ID: AAI-454 Change-Id: I0e31202473ce328136ce54216313caa0d81f0491 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r--aai-resources/ajsc-shared-config/etc/localhost-access-logback.xml2
-rw-r--r--aai-resources/ajsc-shared-config/etc/logback.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/aai-resources/ajsc-shared-config/etc/localhost-access-logback.xml b/aai-resources/ajsc-shared-config/etc/localhost-access-logback.xml
index 0486151..875a00a 100644
--- a/aai-resources/ajsc-shared-config/etc/localhost-access-logback.xml
+++ b/aai-resources/ajsc-shared-config/etc/localhost-access-logback.xml
@@ -30,7 +30,7 @@
</fileNamePattern>
</rollingPolicy>
<encoder class="org.onap.aai.logging.CustomLogPatternLayoutEncoder">
- <Pattern>%a %u %z [%t] "%m %U" %s %b %y %i{X-TransactionId} %i{X-FromAppId} %i{X-Forwarded-For} %i{X-AAI-SSL-Client-CN} %i{X-AAI-SSL-Client-OU} %i{X-AAI-SSL-Client-O} %i{X-AAI-SSL-Client-L} %i{X-AAI-SSL-Client-ST} %i{X-AAI-SSL-Client-C} %i{X-AAI-SSL-Client-NotBefore} %i{X-AAI-SSL-Client-NotAfter} %i{X-AAI-SSL-Client-DN} %D</Pattern>
+ <Pattern>%a %u %z [%t] "%m %U%q" %s %b %y %i{X-TransactionId} %i{X-FromAppId} %i{X-Forwarded-For} %i{X-AAI-SSL-Client-CN} %i{X-AAI-SSL-Client-OU} %i{X-AAI-SSL-Client-O} %i{X-AAI-SSL-Client-L} %i{X-AAI-SSL-Client-ST} %i{X-AAI-SSL-Client-C} %i{X-AAI-SSL-Client-NotBefore} %i{X-AAI-SSL-Client-NotAfter} %i{X-AAI-SSL-Client-DN} %D</Pattern>
</encoder>
</appender>
<appender-ref ref="ACCESS" />
diff --git a/aai-resources/ajsc-shared-config/etc/logback.xml b/aai-resources/ajsc-shared-config/etc/logback.xml
index 33abb1e..5853cea 100644
--- a/aai-resources/ajsc-shared-config/etc/logback.xml
+++ b/aai-resources/ajsc-shared-config/etc/logback.xml
@@ -218,6 +218,7 @@
<logger name="org.springframework.beans" level="WARN" />
<logger name="org.springframework.web" level="WARN" />
<logger name="com.blog.spring.jms" level="WARN" />
+ <logger name="com.jayway.jsonpath" level="WARN" />
<!-- AJSC Services (bootstrap services) -->
<logger name="ajsc" level="WARN" />