From b88e865ab162225f91eb43b3543398fe98efacc0 Mon Sep 17 00:00:00 2001 From: vempo Date: Mon, 13 Aug 2018 16:59:18 +0300 Subject: Added default logging configuration Change-Id: I912418e3d83b612efe1dda4f7050acbc2a6d77e8 Issue-ID: SDC-1530 Signed-off-by: vempo --- .../src/main/resources/logback.xml | 194 +++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 workflow-designer-be/src/main/resources/logback.xml (limited to 'workflow-designer-be/src/main/resources') diff --git a/workflow-designer-be/src/main/resources/logback.xml b/workflow-designer-be/src/main/resources/logback.xml new file mode 100644 index 00000000..f0a4bcb2 --- /dev/null +++ b/workflow-designer-be/src/main/resources/logback.xml @@ -0,0 +1,194 @@ + + + + + + + + + + + + + + ${log.location}/error.log + + + INFO + + + + + AUDIT + + NEUTRAL + DENY + + + + + METRICS + + NEUTRAL + DENY + + + + ${log.location}/error.log.%i + + 1 + 10 + + + + 20MB + + + + + %d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestId}|%thread||%X{ServiceName}|%X{PartnerName}|%X{TargetEntity}|%X{TargetServiceName}|%level||%X{ErrorCode}|%X{ErrorDescription}|%msg%n + + + + + + + ${log.location}/debug.log + + + DEBUG + ACCEPT + DENY + + + + ${log.location}/debug.log.%i + + 1 + 10 + + + + 20MB + + + + + %d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestId}|%msg%n + + + + + + + + + + + ${log.location}/audit.log + + + + AUDIT + + DENY + ACCEPT + + + + ${log.location}/audit.log.%i + + 1 + 10 + + + + 20MB + + + + + %X{BeginTimestamp}|%X{EndTimestamp}|%X{RequestId}|%X{ServiceInstanceId}|%thread||%X{ServiceName}|%X{PartnerName}|%X{StatusCode}|%X{ResponseCode}|%X{ResponseDescription}|%X{InstanceId}|%level||%X{ServerIpAddress}|%X{ElapsedTime}|%X{Server}|%X{ClientIpAddress}||||||||%msg%n + + + + + + + ${log.location}/metrics.log + + + + METRICS + + DENY + ACCEPT + + + + ${log.location}/metrics.log.%i + + 1 + 10 + + + + 20MB + + + + + %X{BeginTimestamp}|%X{EndTimestamp}|%X{RequestId}|%X{ServiceInstanceId}|%thread||%X{ServiceName}|%X{TargetEntity}|%X{TargetServiceName}|%X{StatusCode}|%X{ResponseCode}|%X{ResponseDescription}|%X{InstanceId}|%level||%X{ServerIpAddress}|%X{ElapsedTime}|%X{Server}|%X{ClientIpAddress}||||||||||%msg%n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit 1.2.3-korg