From 0b795544c7504fca8525f5aad6d69881d47df3e4 Mon Sep 17 00:00:00 2001 From: leila Date: Fri, 4 Nov 2022 19:16:52 -0400 Subject: AAI graphadmin logging structure enhancement enhancement for logback and localhost xml files logging structure Issue-ID: AAI-3581 Signed-off-by: leila Change-Id: Iefdada964d352a0ff6554673eb45ef08aa0b70b1 --- src/main/resources/localhost-access-logback.xml | 10 ++ src/main/resources/logback.xml | 209 ++++++++++++++++++++---- 2 files changed, 189 insertions(+), 30 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/localhost-access-logback.xml b/src/main/resources/localhost-access-logback.xml index a318796..6c89f23 100644 --- a/src/main/resources/localhost-access-logback.xml +++ b/src/main/resources/localhost-access-logback.xml @@ -23,18 +23,28 @@ --> + + ${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" + + + @@ -961,28 +1089,34 @@ ${logDirectory}/auth/auth.log.%d{yyyy-MM-dd} + ${maxHistory} + ${totalSizeCap} %d{yyyy-MM-dd'T'HH:mm:ss.SSSZ, UTC}[%thread] %-5level %logger{1024} - %msg%n - 1000 + ${queueSize} true + + + + @@ -995,6 +1129,7 @@ + @@ -1004,15 +1139,18 @@ + + + @@ -1026,6 +1164,7 @@ + @@ -1039,53 +1178,62 @@ + - + + - + + + - - - - + + + + - - + + + - - + + + - - + + + + + @@ -1103,5 +1251,6 @@ + -- cgit 1.2.3-korg