From 07bcac56bfeaca91657c8a080e42167fd29a52e3 Mon Sep 17 00:00:00 2001 From: zhuguanyu Date: Wed, 12 Oct 2022 14:26:33 +0800 Subject: Fix bugs for log configuration Issue-ID: USECASEUI-716 Signed-off-by: zhuguanyu Change-Id: I248670a1fd565d82f33875ccf43d8578ca7250cc --- intentanalysis/src/main/resources/logback.xml | 17 ++++++++++++++--- intentanalysis/src/test/resources/logback-test.xml | 17 ++++++++++++++--- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/intentanalysis/src/main/resources/logback.xml b/intentanalysis/src/main/resources/logback.xml index 3198324..82a1954 100644 --- a/intentanalysis/src/main/resources/logback.xml +++ b/intentanalysis/src/main/resources/logback.xml @@ -22,6 +22,11 @@ + + + ERROR + + /var/log/usecaseui/intent-analysis/ERROR.log true @@ -30,7 +35,13 @@ %d{yyyy-MM-dd HH:mm:ss:SSS} %5p ${PID} --- [%15.15t] %-40.40c{40} : %m%n + + + + DEBUG + + /var/log/usecaseui/intent-analysis/%d{yyyy-MM}-DEBUG.log 90 @@ -41,15 +52,15 @@ - + - + - + diff --git a/intentanalysis/src/test/resources/logback-test.xml b/intentanalysis/src/test/resources/logback-test.xml index cb9a4a4..ed1faf9 100644 --- a/intentanalysis/src/test/resources/logback-test.xml +++ b/intentanalysis/src/test/resources/logback-test.xml @@ -25,6 +25,11 @@ + + + ERROR + + ${user.dir}/${LOG_HOME}/ERROR.log true @@ -33,7 +38,13 @@ %d{yyyy-MM-dd HH:mm:ss:SSS} %5p ${PID} --- [%15.15t] %-40.40c{40} : %m%n + + + + DEBUG + + ${user.dir}/${LOG_HOME}/%d{yyyy-MM}-DEBUG.log 90 @@ -44,15 +55,15 @@ - + - + - + -- cgit 1.2.3-korg