TLog icon indicating copy to clipboard operation
TLog copied to clipboard

Lightweight distributed log label tracking framwork

Results 23 TLog issues
Sort by recently updated
recently updated
newest added

开发者您好: 根据图示,目前我开发版本为:springcloud2022.0.1 springboot2.6.6 tlog-all 1.4.1 项目启动,通过gateway首次请求接口,gateway中的traceId不会打印出来,通过webflux 包下的代码看到是上下文对象没有实例化,推断为拦截器加载顺序的问题。下游web服务之间的传递没有问题。 最严重的问题是gateway的上下文对象会有线程问题,如图所示。请求了7次接口,前六次gateway没有打印traceId,第七次打印出来的traceId是第一次下游接口已经转发过的traceId

对于实际生产来使用,有点太臃肿了。如果能简洁些会更好,

![origin_img_v2_f65d34d9-256b-434a-ac92-3f2d9c42112g](https://user-images.githubusercontent.com/42484192/150623928-866bd7e1-d28b-4ce1-8ec5-65edfce53d5a.png) 是否考虑升级guava版本

[issues](https://github.com/dromara/TLog/issues/11)

在本地测试发现这个bug 建clean提后即可 另外: 我就还在用使用servlet技术的人哈哈哈

不同job任务使用了同一个traceId,同一个任务多次执行也使用了同一个traceId。可查看附件 ![image](https://user-images.githubusercontent.com/20636322/138865647-b548ea52-38c8-403c-b4ac-95680495857c.png) [new 5.txt](https://github.com/dromara/TLog/files/7417530/new.5.txt)

微服务用的lombok集成TLog没有效果。 按照示例里面加的依赖,logback的文件复制的gateway示例里的。 在启动类增加了 //进行日志增强,自动判断日志框架 static { AspectLogEnhance.enhance(); } 启动没有报错,调用提示“日志增强成功”,但是结果调用过程中,表没有出现作者说的有TraceId贯穿

```java package com.elite.common.config; import lombok.extern.slf4j.Slf4j; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.filter.OncePerRequestFilter; import org.springframework.web.util.ContentCachingRequestWrapper; import org.springframework.web.util.ContentCachingResponseWrapper; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * 记录完整请求响应日志 * */...

SpringBoot 3.X 不支持 这么久了都没改