解决SkyWalking在gateway组件中logback日志链路丢失 type: Post status: Published date: 2024/01/21 slug: 240121-skywaking summary: 一年半以前,公司就从单体应用逐步迁移到微服务管理。奈何业务绑定太深,一直在两边混合开发。由于迁移到微服务的进程完成了一大半了,之前在单体项目中打的链路追踪就不太好用了。随即想到了SkyWalking,随即发现了一个大坑,那就是在gateway组件中logback日志会丢失TraceId,网上搜了一圈都没有解决问题,我又跑到SkyWalking的issue中搜了一大圈,发现大佬以下回答,还是得自己想办法。 tags: skywalking, spring, 开发, 微服务, 推荐, 日志 category: 技术分享 契机 吴晟大佬:Why ping me? The plugin is not written by me. I don’t know anything about agent running in Spring cloud.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile