日志修改

This commit is contained in:
guoshengxiong 2025-11-17 10:55:21 +08:00
parent 3682d2980a
commit 6ed460dfc3
2 changed files with 5 additions and 3 deletions

View File

@ -214,7 +214,8 @@ tenant.tables[7]=wflow_models
tenant.tables[8]=wflow_notifys
tenant.tables[9]=wflow_sub_groups
tenant.tables[10]=wflow_sub_process
sada.host=http://api.e.v1.i-sada.net
h5.exam.url=http://192.168.34.133:20626/#/pages/personLocation/login/login?examPaperId=
facePass=1
#logback-spring.xml指定配置路径
#logging.config=/root/java/logback-spring.xml

View File

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="false" scan="true">
<configuration debug="false" scan="true" scanPeriod="60 seconds">
<property name="log.path" value="logs/logs"/>
<!-- Console log output -->
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<!--格式化输出:%d表示日期%thread表示线程名%-5level级别从左显示5个字符宽度%msg日志消息%n是换行符-->
<pattern>%green(%d{yyyy-MM-dd HH:mm:ss.SSS} [%X{requestId}][%thread] %-5level %logger{0}.%method:%L) - %highlight(%msg) %X{stackInfo} %n
<pattern>%green(%d{yyyy-MM-dd HH:mm:ss.SSS} [%X{requestId}][%thread] %-5level %logger{0}.%method:%L) -
%highlight(%msg) %X{stackInfo} %n
</pattern>
</encoder>
<filter class="com.zhgd.config.LogPrintFilter">