summaryrefslogtreecommitdiff
path: root/config/log4j2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/log4j2.xml')
-rw-r--r--config/log4j2.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/log4j2.xml b/config/log4j2.xml
index 07564980..69928e64 100644
--- a/config/log4j2.xml
+++ b/config/log4j2.xml
@@ -12,7 +12,7 @@
<!--日志文件名称-->
<property name="LOG_FILE_NAME">galaxy-qgw-service</property>
<!--日志打印格式-->
- <property name="LOG_PATTERN">[%d{yyyy-MM-dd HH:mm:ssZ}] [%p] [Thread:%t] %l %x - %m%n</property>
+ <property name="LOG_PATTERN">[%d{yyyy-MM-dd HH:mm:ssZ}] [%p] [Thread:%t] [%X{traceId}] %l %x - %m%n</property>
</Properties>
<appenders>