Commit f9adeddad0c27e899271b49ca3878171e5aa782a
1 parent
395f5234
格式修改/添加注释
Showing
2 changed files
with
3 additions
and
1 deletions
src/main/java/cn/iocoder/dashboard/common/annotation/BizTracing.java
src/main/java/cn/iocoder/dashboard/framework/tracer/skywalking/TraceIdPatternLogbackLayout.java
| ... | ... | @@ -22,11 +22,12 @@ package cn.iocoder.dashboard.framework.tracer.skywalking; |
| 22 | 22 | import ch.qos.logback.classic.PatternLayout; |
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | - * Based on the logback-compoenent convert register mechanism, | |
| 25 | + * Based on the logback-component convert register mechanism, | |
| 26 | 26 | * register {@link LocalLogbackPatternConverter} as a new convert, match to "tid". |
| 27 | 27 | * You can use "%tid" in logback config file, "Pattern" section. |
| 28 | 28 | * If sky-walking agent is not active mode, it will use UUID as tid. |
| 29 | 29 | * <p> |
| 30 | + * logback 的转换组件,为tid 添加占位符的转换器 | |
| 30 | 31 | * Created by mashu on 2021/3/6. |
| 31 | 32 | */ |
| 32 | 33 | public class TraceIdPatternLogbackLayout extends PatternLayout { | ... | ... |