From 4dd115633585e996116dd3482691cdb7cedfdcd7 Mon Sep 17 00:00:00 2001 From: leila Date: Wed, 9 Nov 2022 09:47:42 -0500 Subject: AAI traversal logging structure enhancement logging structure enhancement for logback and localhost xml files Issue-ID: AAI-3584 Signed-off-by: leila Change-Id: Iff2ff3f3faefb935780ead2d6c1b1f98f406f486 --- .../main/resources/localhost-access-logback.xml | 11 ++ aai-traversal/src/main/resources/logback.xml | 129 ++++++++++++++------- 2 files changed, 95 insertions(+), 45 deletions(-) (limited to 'aai-traversal/src/main/resources') diff --git a/aai-traversal/src/main/resources/localhost-access-logback.xml b/aai-traversal/src/main/resources/localhost-access-logback.xml index a318796..cb0b9a6 100644 --- a/aai-traversal/src/main/resources/localhost-access-logback.xml +++ b/aai-traversal/src/main/resources/localhost-access-logback.xml @@ -23,18 +23,29 @@ --> + + ${AJSC_HOME}/logs/ajsc-jetty/localhost_access.log ${AJSC_HOME}/logs/ajsc-jetty/localhost_access.log.%d{yyyy-MM-dd} + ${maxHistory} + ${totalSizeCap} %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 + + + + %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 - "logType": "access" + + +