diff --git a/Springboot-Swagger/src/main/resources/logback.xml b/Springboot-Swagger/src/main/resources/logback.xml index fb91b6902ec009e5c3b8914c92d74b7c1b9aac97..6973952f3b01fc93933560c2bb2db61624f5ee5b 100644 --- a/Springboot-Swagger/src/main/resources/logback.xml +++ b/Springboot-Swagger/src/main/resources/logback.xml @@ -22,16 +22,36 @@ 100MB + + 10 %d{HH:mm:ss.SSS} [%thread] %-5level %logger{50} -%msg%n + + ${LOG_HOME}/springboot_swagger_error.log + + ${LOG_HOME}/springboot_swagger_error.%d{yyyy-MM-dd}.log + + 10 + + + utf-8 + %X{req.remoteHost} %X{req.xForwardedFor} %d{HH:mm:ss.SSS} [%thread] %-5level %logger{135} - %msg%n + + + ERROR + ACCEPT + DENY + + + \ No newline at end of file