feat: 系统日志新增 traceId 链路号记录,方便查看完整日志链路

This commit is contained in:
2024-01-31 21:49:56 +08:00
parent b5d668e014
commit 860ca403c2
11 changed files with 57 additions and 27 deletions

View File

@@ -28,4 +28,10 @@ databaseChangeLog:
- include:
file: db/changelog/v2.2.0/continew-admin_column.sql
- include:
file: db/changelog/v2.2.0/continew-admin_data.sql
file: db/changelog/v2.2.0/continew-admin_data.sql
- include:
file: db/changelog/v2.4.0/continew-admin_table.sql
- include:
file: db/changelog/v2.4.0/continew-admin_column.sql
- include:
file: db/changelog/v2.4.0/continew-admin_data.sql

View File

@@ -0,0 +1,4 @@
-- liquibase formatted sql
-- changeset Charles7c:1
ALTER TABLE `sys_log` ADD COLUMN `trace_id` varchar(255) NULL COMMENT '链路ID' AFTER `id`;

View File

@@ -0,0 +1 @@
-- liquibase formatted sql

View File

@@ -0,0 +1 @@
-- liquibase formatted sql