Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微服务用的lombok集成TLog没有效果 #8

Open
zwll2013 opened this issue Oct 22, 2021 · 3 comments
Open

微服务用的lombok集成TLog没有效果 #8

zwll2013 opened this issue Oct 22, 2021 · 3 comments

Comments

@zwll2013
Copy link

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

@zwll2013
Copy link
Author

是不是我的姿势不对啊???

@zwll2013
Copy link
Author

@weihubeats
Copy link
Contributor

能提供下tlog版本和springcloud的版本,以及配置使用的的代码?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants