From e8baab27bcfeabd1daadbc15b844e148e4237dbb Mon Sep 17 00:00:00 2001 From: limqhz Date: Sat, 23 May 2020 09:18:26 +0800 Subject: [PATCH] =?UTF-8?q?netty=E6=97=A5=E5=BF=97=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- netty-pad/src/main/resources/logback.xml | 33 ++++++++++++++---------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/netty-pad/src/main/resources/logback.xml b/netty-pad/src/main/resources/logback.xml index 9e091c9..e7fb94d 100644 --- a/netty-pad/src/main/resources/logback.xml +++ b/netty-pad/src/main/resources/logback.xml @@ -1,7 +1,7 @@ - + @@ -10,30 +10,37 @@ - - ${LOG_HOME}/nettypad-spring.log + ${LOG_HOME}/common-default.log - ${LOG_HOME}/nettypad-spring-%d{yyyy-MM-dd_HH}.%i.log + ${LOG_HOME}/common-default-%d{yyyy-MM-dd}.log - - 10MB - - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n - - - + + ${LOG_HOME}/common-error.log + + ERROR + + + ${LOG_HOME}/common-error-%d{yyyy-MM-dd}.log + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n + + - + + \ No newline at end of file