diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2017-11-07 13:39:43 -0500 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2017-11-07 13:39:52 -0500 |
commit | 7c72b59924edeb04b74c0dcc9471706a73fca1aa (patch) | |
tree | 87661a76afbd73185f7791967f4eb47cdda940ed | |
parent | 139a80ce45a40796b60de8eb8d2c0f27607a126b (diff) |
Change the logback to remove jsonpath extra logs
Also add the query parameters to access log
Issue-ID: AAI-454
Change-Id: I2cf704fcca12d27d4c3e561a8194cf5e1268f58a
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r-- | aai-traversal/ajsc-shared-config/etc/localhost-access-logback.xml | 2 | ||||
-rw-r--r-- | aai-traversal/ajsc-shared-config/etc/logback.xml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/aai-traversal/ajsc-shared-config/etc/localhost-access-logback.xml b/aai-traversal/ajsc-shared-config/etc/localhost-access-logback.xml index 1ca6caf..fbcfd25 100644 --- a/aai-traversal/ajsc-shared-config/etc/localhost-access-logback.xml +++ b/aai-traversal/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-traversal/ajsc-shared-config/etc/logback.xml b/aai-traversal/ajsc-shared-config/etc/logback.xml index b855c37..3b8a257 100644 --- a/aai-traversal/ajsc-shared-config/etc/logback.xml +++ b/aai-traversal/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" /> |