2026年1月12日
摘要: Spring官方文档参考 https://docs.spring.io/spring-boot/reference/features/logging.html Logback变量默认值 如果变量未定义,在<pattern>标签中使用时情况说明 ${}取值,从<property>标签定义的变量获取 - 阅读全文
posted @ 2026-01-12 22:15 wastonl 阅读(4) 评论(0) 推荐(0)
摘要: 概述 Spring Cloud Sleuth是Spring Boot 2.x的分布式链路追踪组件,不适用于Spring Boot 3。它的底层是zipkin的brave。 基本使用 只需要在pom中引入spring-cloud-sleuth-starter,你便可以获得链路追踪能力。 默认的日志打印 阅读全文
posted @ 2026-01-12 22:10 wastonl 阅读(0) 评论(0) 推荐(0)