Tag

Logging

1 views collected around this technical thread.

Java Architect Essentials
Java Architect Essentials
Jun 14, 2025 · Backend Development

Why System.out.println() Can Kill Your MyBatis Performance and How to Fix It

This article explains why MyBatis's default StdOutImpl logging, which relies on System.out.println, blocks threads and creates severe concurrency bottlenecks, and demonstrates how to replace it with asynchronous logging implementations like Slf4jImpl, configure log levels, and even create custom Log classes for optimal performance.

JavaLoggingMyBatis
0 likes · 8 min read
Why System.out.println() Can Kill Your MyBatis Performance and How to Fix It
Architect's Tech Stack
Architect's Tech Stack
Jun 4, 2025 · Backend Development

Retrofit Spring Boot Starter: Lightweight HTTP Client Integration with Advanced Features

This article introduces the Retrofit Spring Boot Starter, a lightweight HTTP client framework for Spring Boot that simplifies HTTP request handling, supports custom OkHttpClient injection, annotation‑based interceptors, logging, retry, error decoding, circuit‑breaker integration, connection‑pool management, global interceptors, microservice calls, and flexible call adapters and converters.

HTTPJavaLogging
0 likes · 19 min read
Retrofit Spring Boot Starter: Lightweight HTTP Client Integration with Advanced Features
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 23, 2025 · Backend Development

11 Must‑Know Spring Boot 3.5 Features with Ready‑to‑Use Code Samples

This article walks through eleven notable Spring Boot 3.5 enhancements—including stricter .enabled flags, renamed TaskExecutor beans, Redis URL handling, annotation‑based servlet/filter registration, multi‑property environment loading, structured logging tweaks, WebClient connector settings, task decorators, custom executors, bootstrapExecutor auto‑configuration, and secured heapdump actuator endpoint—providing concise explanations and runnable code snippets.

ActuatorBackendCode Samples
0 likes · 10 min read
11 Must‑Know Spring Boot 3.5 Features with Ready‑to‑Use Code Samples
Code Mala Tang
Code Mala Tang
May 22, 2025 · Fundamentals

9 Essential Python Debugging Techniques Every Developer Should Master

This guide presents nine practical Python debugging methods—including try‑except blocks, print statements, the pdb debugger, assertions, stack trace analysis, linting tools, IDE breakpoints, logging, and unit testing—to help developers quickly identify and resolve errors in their code.

Error HandlingLoggingPython
0 likes · 4 min read
9 Essential Python Debugging Techniques Every Developer Should Master
macrozheng
macrozheng
May 20, 2025 · Backend Development

10 Logging Rules Every Backend Engineer Should Follow

This article shares ten practical rules for producing high‑quality logs in Java backend systems, covering unified formatting, stack traces, log levels, complete parameters, data masking, asynchronous logging, traceability, dynamic level adjustment, structured storage, and intelligent monitoring to help developers quickly diagnose issues and improve system reliability.

JavaLogbackLogging
0 likes · 12 min read
10 Logging Rules Every Backend Engineer Should Follow
Architect's Tech Stack
Architect's Tech Stack
May 20, 2025 · Operations

Visualizing Nginx Access Logs with Loki and Grafana

This guide explains how to collect Nginx access logs, convert them to JSON, store them in Loki using Promtail, and visualize the data with Grafana dashboards, including installation of required modules, Docker deployment, and world‑map panel configuration.

GrafanaJSONLogging
0 likes · 8 min read
Visualizing Nginx Access Logs with Loki and Grafana
Java Tech Enthusiast
Java Tech Enthusiast
May 18, 2025 · Operations

Ten Rules for Writing High‑Quality Logs in Production Systems

This article presents ten practical rules for producing high‑quality, searchable logs—including unified formatting, stack‑trace inclusion, proper log levels, complete parameters, data masking, asynchronous writing, trace‑ID linking, dynamic level control, structured storage, and intelligent monitoring—to help developers quickly diagnose issues in high‑traffic applications.

Best PracticesJavaLogback
0 likes · 11 min read
Ten Rules for Writing High‑Quality Logs in Production Systems
Selected Java Interview Questions
Selected Java Interview Questions
May 14, 2025 · Backend Development

Enterprise Java Core Features: Full‑Chain Logging, Unified Exception Handling, Permission Interceptor, and Thread Context Management

This article presents a comprehensive guide to implementing full‑chain log tracing, unified exception handling, permission interception, request latency monitoring, and standardized log formats in enterprise‑level Java projects using Spring AOP, thread‑local context, and Redis caching.

AOPExceptionHandlingJava
0 likes · 23 min read
Enterprise Java Core Features: Full‑Chain Logging, Unified Exception Handling, Permission Interceptor, and Thread Context Management
php中文网 Courses
php中文网 Courses
May 7, 2025 · Backend Development

Best Practices for Exception Handling in PHP

This article provides a comprehensive guide to PHP exception handling, covering the distinction between exceptions and errors, basic try‑catch syntax, advanced strategies such as custom exception types, chaining, global handlers, common pitfalls, logging, monitoring, performance impacts, and security best practices.

Error ManagementException HandlingLogging
0 likes · 8 min read
Best Practices for Exception Handling in PHP
Test Development Learning Exchange
Test Development Learning Exchange
May 5, 2025 · Backend Development

Comprehensive Collection of Python Decorators for Logging, Timing, Error Handling, Caching, and More

This article presents a thorough set of Python decorator implementations covering logging, performance timing, exception handling, caching, retry mechanisms, authentication, parameter validation, decorator chaining, JSON response formatting, rate limiting, environment variable injection, response monitoring, custom headers, data transformation, concurrency control, distributed locking, API version control, security auditing, input validation, and output filtering, each with usage examples and sample output.

APICachingDecorators
0 likes · 21 min read
Comprehensive Collection of Python Decorators for Logging, Timing, Error Handling, Caching, and More
Code Mala Tang
Code Mala Tang
Apr 29, 2025 · Backend Development

Master FastAPI Middleware: From Built‑in to Custom Auth and Logging

This guide explains how FastAPI middleware works, outlines its request‑response lifecycle, shows built‑in examples like CORS and HTTPS redirect, and demonstrates how to create custom middleware for logging, authentication, and other cross‑cutting concerns.

BackendFastAPILogging
0 likes · 6 min read
Master FastAPI Middleware: From Built‑in to Custom Auth and Logging
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 27, 2025 · Backend Development

How to Log HTTP Requests & Responses with Spring Boot Actuator (Full Code Guide)

This article explains how to use Spring Boot Actuator's HTTP trace feature to record request and response metadata, shows the required dependencies and configuration, demonstrates a custom Redis repository, and provides complete code examples for testing the logging functionality.

ActuatorJavaLogging
0 likes · 7 min read
How to Log HTTP Requests & Responses with Spring Boot Actuator (Full Code Guide)
Test Development Learning Exchange
Test Development Learning Exchange
Apr 14, 2025 · Backend Development

Encapsulating Custom Exceptions and Logging in an API Automation Framework

This article explains how to improve the stability and maintainability of API automated tests by defining custom exception classes, wrapping a Loguru‑based logger, and integrating both into request utilities and pytest test cases with clear code examples.

API testingBackendCustom Exceptions
0 likes · 6 min read
Encapsulating Custom Exceptions and Logging in an API Automation Framework
Architect's Guide
Architect's Guide
Mar 30, 2025 · Backend Development

Design and Implementation of a Unified Log Recording Framework for Java Backend Systems

This article introduces a unified log recording solution for Java backend services, covering the background need, expected UI effects, database schema, core principles, detailed annotation and service implementations, and multiple usage scenarios including simple log objects, inheritance, and nested objects.

AnnotationsBackendCode Example
0 likes · 11 min read
Design and Implementation of a Unified Log Recording Framework for Java Backend Systems
Lobster Programming
Lobster Programming
Mar 17, 2025 · Operations

How to Build a Lightweight Loki Logging Stack with Promtail and Grafana

This guide walks you through setting up a SpringBoot application, configuring Logback, installing and configuring Loki, Promtail, and Grafana, and comparing the lightweight Loki stack with the traditional ELK solution for efficient log collection and visualization.

ELKGrafanaLogging
0 likes · 14 min read
How to Build a Lightweight Loki Logging Stack with Promtail and Grafana
Selected Java Interview Questions
Selected Java Interview Questions
Mar 10, 2025 · Backend Development

Postmortem of a Server Crash Caused by a Mis‑managed Scheduled Task in a Backend Module

The article analyzes a server outage triggered by a module that repeatedly created a scheduled task without proper lifecycle control, examines the problematic Java code, lists four key issues, presents a corrected implementation, and reflects on development, testing, review, and logging practices to prevent similar incidents.

BackendIncidentJava
0 likes · 5 min read
Postmortem of a Server Crash Caused by a Mis‑managed Scheduled Task in a Backend Module
Python Programming Learning Circle
Python Programming Learning Circle
Mar 3, 2025 · Backend Development

ProgressPal: A Python Progress Tracker for Functions, Iterables, and Logs with Distributed and Parallel Support

ProgressPal is a Python library that extends tqdm‑style progress bars to track functions, iterables, and log messages across threads, processes, and distributed systems, offering a web‑based dashboard, logging server, and easy integration with threading, concurrent.futures, and joblib for collaborative monitoring.

Distributed MonitoringLoggingPython
0 likes · 7 min read
ProgressPal: A Python Progress Tracker for Functions, Iterables, and Logs with Distributed and Parallel Support
Top Architect
Top Architect
Feb 28, 2025 · Databases

Database Monitoring and Logging: Tools, Commands, and MySQL Slow Query Log Configuration

This article explains how to monitor system resources and record execution logs for databases, introduces Linux commands such as top, iostat, vmstat, shows how to enable and view MySQL slow query logs, and offers best practices and automation tools, while also promoting related AI and community services.

LinuxLoggingMonitoring
0 likes · 7 min read
Database Monitoring and Logging: Tools, Commands, and MySQL Slow Query Log Configuration