Tagged articles

AsyncAppender

3 articles · Page 1 of 1
Programmer1970
Programmer1970
Aug 5, 2025 · Backend Development

Logback Configuration in Spring Boot: Multi‑Env, Dynamic Levels, Async, Masking, MDC & Trace Integration

This guide walks through a complete Logback setup for Spring Boot, covering multi‑environment profiles, runtime log‑level changes via Actuator, async appender tuning, structured JSON output, sensitive‑data masking, MDC‑based distributed tracing, exception stack filtering, performance metrics and best‑practice recommendations.

AsyncAppenderMDCSpring Boot
0 likes · 17 min read
Logback Configuration in Spring Boot: Multi‑Env, Dynamic Levels, Async, Masking, MDC & Trace Integration
DataFunSummit
DataFunSummit
Aug 21, 2022 · Operations

Log4j2 Thread Blocking Causes and Mitigation Strategies

This article examines how excessive logging, AsyncAppender queue saturation, JVM reflection optimizations, and Lambda class loading can cause thread blocking in Log4j2, analyzes root causes with code examples, and provides practical guidelines and best‑practice configurations to prevent performance degradation in high‑throughput Java services.

AsyncAppenderJavaLoggingThreadBlocking
0 likes · 53 min read
Log4j2 Thread Blocking Causes and Mitigation Strategies
Cognitive Technology Team
Cognitive Technology Team
Jun 26, 2022 · Backend Development

AsyncAppender OOM, Log Loss, and Blocking Issues – Configuration Guide

The article explains how AsyncAppender uses a BlockingQueue with a default size of 256, how an oversized queue can cause OOM, how the discardingThreshold can lead to loss of TRACE/DEBUG/INFO logs, and provides configuration tips such as adjusting queueSize, setting discardingThreshold to zero, or enabling neverBlock to avoid blocking.

AsyncAppenderOOMblockingqueue
0 likes · 5 min read
AsyncAppender OOM, Log Loss, and Blocking Issues – Configuration Guide