Tagged articles

Dynamic Log Level

3 articles · Page 1 of 1
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 20, 2026 · Backend Development

Spring Boot Logging Governance: Structured JSON, Dynamic Levels & TraceId Propagation

This article details a production-grade logging system for Spring Boot microservices covering structured JSON output, MDC-based TraceId propagation across async threads and RPC calls, dynamic log level updates via Actuator or config centers, sensitive data masking, and disk protection strategies with async appenders and containerized log collection.

Dynamic Log LevelLogbackMDC
0 likes · 21 min read
Spring Boot Logging Governance: Structured JSON, Dynamic Levels & TraceId Propagation
FunTester
FunTester
Apr 27, 2020 · Backend Development

Dynamically Adjust Log Levels with Arthas Logger and Log4j2

This guide explains how to use the Arthas logger command to change Java logger levels on‑the‑fly without restarting the JVM, demonstrates a complete Log4j2 XML configuration, and provides a runnable Java example that continuously emits logs at various levels.

ArthasDynamic Log LevelJava
0 likes · 7 min read
Dynamically Adjust Log Levels with Arthas Logger and Log4j2