Tagged articles
692 articles
Page 2 of 7
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.

Backend DevelopmentException HandlingPHP
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.

APIPythonSecurity
0 likes · 21 min read
Comprehensive Collection of Python Decorators for Logging, Timing, Error Handling, Caching, and More
Lin is Dream
Lin is Dream
May 5, 2025 · Backend Development

Mastering MDC with Logback: Traceable Logging for Distributed Systems

This article explains how to use SLF4J's MDC with Logback to assign a unique trace ID to each request, propagate it across threads and services, and configure log patterns so that logs become fully traceable for easier debugging in distributed systems.

Distributed SystemsJavaThreadLocal
0 likes · 7 min read
Mastering MDC with Logback: Traceable Logging for Distributed Systems
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.

AuthenticationBackendlogging
0 likes · 6 min read
Master FastAPI Middleware: From Built‑in to Custom Auth and Logging
JavaScript
JavaScript
Apr 25, 2025 · Backend Development

How I Quickly Added Robust Logging to an Express App with AI‑Powered Trae IDE

Facing unexplained slowdowns in an Express site, I used the AI‑driven Trae IDE to automatically install Morgan, persist logs to rotating files, separate access and error logs, add buffering for performance, and even automate code commits, dramatically improving observability and debugging speed.

AI IDEExpressMorgan
0 likes · 10 min read
How I Quickly Added Robust Logging to an Express App with AI‑Powered Trae IDE
Test Development Learning Exchange
Test Development Learning Exchange
Apr 13, 2025 · Backend Development

Mastering API Request Wrappers in Pytest: Reusable GET, POST, PUT, DELETE

Learn how to boost code reuse and maintainability in API automation by encapsulating common HTTP methods (GET, POST, PUT, DELETE, etc.) within a Pytest-friendly RequestUtil class, complete with logging, exception handling, session management, dynamic headers, and timeout support, plus practical test examples.

API testingAutomationHTTP requests
0 likes · 11 min read
Mastering API Request Wrappers in Pytest: Reusable GET, POST, PUT, DELETE
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.

BackendDebuggingIncident
0 likes · 5 min read
Postmortem of a Server Crash Caused by a Mis‑managed Scheduled Task in a Backend Module
Code Mala Tang
Code Mala Tang
Feb 10, 2025 · Fundamentals

Master Python Exception Handling and Logging: Practical Guide with Code

This article explains why robust exception handling and logging are essential in Python development, introduces built‑in exception types, demonstrates try‑except‑else‑finally patterns, shows how to use assert and raise, creates custom exceptions, and provides practical logging examples with code snippets.

DebuggingException Handlingcustom-exception
0 likes · 12 min read
Master Python Exception Handling and Logging: Practical Guide with Code
JavaScript
JavaScript
Jan 18, 2025 · Frontend Development

8 Essential JavaScript Error‑Handling Techniques for More Resilient Apps

Master robust JavaScript error handling with eight practical strategies—including async try‑catch, global handlers, custom error types, graceful degradation, error boundaries, promise chain management, log level structuring, and automatic recovery—to boost application stability and improve user experience.

AsyncError HandlingJavaScript
0 likes · 6 min read
8 Essential JavaScript Error‑Handling Techniques for More Resilient Apps
php Courses
php Courses
Jan 15, 2025 · Backend Development

Challenges of PHP Applications and the Role of User Behavior Analysis

This article examines the current challenges faced by PHP applications—including performance, functionality, and competition—highlights the importance of user behavior analysis for uncovering needs and optimizing experience, and presents practical logging and analysis techniques with PHP code examples to improve performance and enable precise marketing.

PHPWeb Developmentbehavior analysis
0 likes · 13 min read
Challenges of PHP Applications and the Role of User Behavior Analysis
JD Tech Talk
JD Tech Talk
Dec 27, 2024 · Backend Development

Log Sampling and Cross‑Thread Propagation in High‑Throughput Java Services

The article examines the performance impact of excessive logging in large‑scale Java systems and proposes request‑level sampling with cross‑thread identifier propagation, offering practical component‑based solutions, implementation considerations, and a concrete code example for backend developers.

BackendJavaSampling
0 likes · 7 min read
Log Sampling and Cross‑Thread Propagation in High‑Throughput Java Services
Architect
Architect
Dec 21, 2024 · Operations

Log Governance and Mining Solution for Distributed Systems

This article presents a comprehensive log governance solution that standardizes, integrates, and optimizes distributed system logs—covering traceability, performance analysis, metric monitoring, and large‑payload handling—to improve observability, reduce resource consumption, and enable effective data‑driven decision making.

Log Managementloggingtraceability
0 likes · 11 min read
Log Governance and Mining Solution for Distributed Systems
Top Architect
Top Architect
Dec 9, 2024 · Databases

Database Monitoring and Slow Query Log Management Guide

This article provides a practical guide on monitoring database system resources using Linux commands, configuring MySQL slow query logging, analyzing performance issues, and outlines best practices, while also promoting a ChatGPT community and related services.

DevOpsdatabaseslogging
0 likes · 7 min read
Database Monitoring and Slow Query Log Management Guide
Java Tech Enthusiast
Java Tech Enthusiast
Dec 3, 2024 · Backend Development

Spring Boot 3.4 Upgrade Guide: Major Changes and Features

Spring Boot 3.4 adds automatic multi‑client RestClient configuration, Bean‑Validation‑based property checks, default graceful shutdown, ECS/GELF/Logstash structured logging, enhanced observability with application grouping and OTLP tracing, upgraded core and third‑party dependencies, AssertJ‑enabled MockMvc testing, and replaces old management endpoint settings with access‑based properties.

ConfigurationJavaSpring Boot
0 likes · 6 min read
Spring Boot 3.4 Upgrade Guide: Major Changes and Features
Architect
Architect
Nov 29, 2024 · Operations

How to Combine SkyWalking and ELK for End-to-End Trace ID Logging

This article explains how to integrate SkyWalking's distributed tracing with an ELK logging stack, embed Trace IDs into logs via SkyWalking layouts or MDC, and use Kibana to query and visualize trace‑linked log data for comprehensive microservice observability.

APMELKMicroservices
0 likes · 11 min read
How to Combine SkyWalking and ELK for End-to-End Trace ID Logging
Yum! Tech Team
Yum! Tech Team
Nov 28, 2024 · Cloud Native

Elastic Scaling Architecture for a Smart Delivery System During Peak Holiday Traffic

The article describes how an operations engineer transforms a complex, multi‑language smart delivery platform into an elastic, container‑native system that automatically scales, registers, and logs services during the high‑load Chinese New Year period using Kubernetes, Docker, init containers, and a configuration center.

Configuration ManagementDockerKubernetes
0 likes · 13 min read
Elastic Scaling Architecture for a Smart Delivery System During Peak Holiday Traffic
Architecture Digest
Architecture Digest
Nov 28, 2024 · Backend Development

Automatic Insertion of UserId and OrderId into Logs Using Spring AOP and MDC

This article explains how to automatically embed userId and orderId into log statements by defining log placeholders, storing these values in MDC via ThreadLocal, and using a custom @UserLog annotation together with Spring AOP to inject the data before method execution, complete with configuration and test examples.

Javaannotationaop
0 likes · 8 min read
Automatic Insertion of UserId and OrderId into Logs Using Spring AOP and MDC
Java Architecture Diary
Java Architecture Diary
Nov 25, 2024 · Backend Development

Master Spring Boot 3.4 Upgrade: Key Changes, Configurations & Code Samples

Spring Boot 3.4 introduces performance boosts, enhanced observability, and developer experience improvements, and this guide walks you through the most critical changes—including RestClient auto‑configuration, bean validation updates, graceful shutdown, structured logging formats, dependency upgrades, testing enhancements, and deprecated feature handling—complete with configuration snippets and code examples.

Backend DevelopmentConfigurationObservability
0 likes · 8 min read
Master Spring Boot 3.4 Upgrade: Key Changes, Configurations & Code Samples
ITPUB
ITPUB
Nov 24, 2024 · Backend Development

Master Java Logging: Frameworks, Best Practices, and Real‑World Tips

This guide explains why logging is essential for Java applications, compares popular logging frameworks such as Logback, Log4j2, and SLF4J, shows how to integrate them with Spring Boot, and provides concrete best‑practice recommendations for levels, formatting, async handling, rotation, and security.

JavaSpring Bootbest practices
0 likes · 17 min read
Master Java Logging: Frameworks, Best Practices, and Real‑World Tips
Python Programming Learning Circle
Python Programming Learning Circle
Nov 23, 2024 · Fundamentals

Advanced Python Concepts: Exception Handling, Collections, itertools, Lambdas, Decorators, Generators, Threads, Dunder Methods, Logging, and Context Managers

This article introduces ten advanced Python topics—including exception handling, the collections and itertools modules, lambda functions, decorators, generators, threading, dunder methods, logging, and context managers—providing explanations, code examples, and practical tips to help developers deepen their programming skills and prepare for interviews.

AdvancedCollectionsGenerators
0 likes · 13 min read
Advanced Python Concepts: Exception Handling, Collections, itertools, Lambdas, Decorators, Generators, Threads, Dunder Methods, Logging, and Context Managers
Java Architect Essentials
Java Architect Essentials
Nov 20, 2024 · Backend Development

Common Java Backend Pitfalls and Practical Solutions

The article shares a Java backend developer’s recent challenges—including duplicated configuration files, hard‑coded parameters, mixed logging practices, unchecked Maven dependencies, and production database inconsistencies—and offers practical solutions such as consolidating Spring configuration, standardizing logging, enforcing code reviews, and proper Maven pom handling.

ConfigurationJavabest practices
0 likes · 6 min read
Common Java Backend Pitfalls and Practical Solutions
System Architect Go
System Architect Go
Nov 16, 2024 · Cloud Native

Kubernetes 10 Common Questions and Answers

This article answers ten common Kubernetes questions, covering pod scheduling strategies, OOM behavior, dynamic ConfigMap updates, pod stability, ClusterIP service load balancing, log collection, liveness probes, scaling mechanisms, exec access, and troubleshooting container restarts, providing concise explanations for each scenario.

ClusterIPConfigMapHorizontal Pod Autoscaler
0 likes · 9 min read
Kubernetes 10 Common Questions and Answers
IT Services Circle
IT Services Circle
Nov 15, 2024 · Backend Development

Best Practices for Designing Secure and Robust API Controller Interfaces

This guide outlines comprehensive techniques for building safe, repeatable, and maintainable API controller interfaces, covering signature generation, encryption, IP whitelisting, rate limiting, parameter validation, unified responses, exception handling, logging, idempotency, request size limits, stress testing, asynchronous processing, data masking, and complete documentation.

APIException HandlingIdempotency
0 likes · 15 min read
Best Practices for Designing Secure and Robust API Controller Interfaces
JD Tech
JD Tech
Nov 15, 2024 · Backend Development

Best Practices for Writing High‑Quality Java Methods

This article discusses how to write clean, maintainable Java methods by covering proper method signatures, limiting parameters, avoiding varargs misuse, validating inputs, minimizing side effects, handling exceptions correctly, writing concise method bodies, and providing effective logging and documentation practices.

Exception HandlingJavabest practices
0 likes · 21 min read
Best Practices for Writing High‑Quality Java Methods
Java Tech Enthusiast
Java Tech Enthusiast
Nov 10, 2024 · Databases

Database Monitoring and Logging Practices

Effective database administration relies on continuous monitoring of system resources—CPU, memory, disk I/O, and network—using tools like top, iostat, and vmstat, alongside logging slow MySQL queries, analyzing performance bottlenecks, and following best practices such as automated monitoring, centralized log management, regular audits, and log backups.

Linuxdatabaselogging
0 likes · 5 min read
Database Monitoring and Logging Practices
Efficient Ops
Efficient Ops
Nov 4, 2024 · Cloud Native

Build an ELK Log Center for Docker Containers in Minutes

This guide walks you through setting up an ELK stack to collect, centralize, and visualize logs from Dockerized applications, covering rsyslog configuration, container deployment for Elasticsearch, Logstash, Kibana, and Nginx, and demonstrates verification via Kibana queries.

DockerELKElasticsearch
0 likes · 5 min read
Build an ELK Log Center for Docker Containers in Minutes
Test Development Learning Exchange
Test Development Learning Exchange
Nov 2, 2024 · Fundamentals

Understanding Python Decorators: Concepts, Examples, and Practical Uses

This article explains Python decorators, covering their definition as higher‑order functions, essential concepts like closures, step‑by‑step examples of basic, parameterized, class‑based, and stateful decorators, as well as practical uses such as logging and caching, all illustrated with clear code snippets.

DecoratorHigher-order functioncaching
0 likes · 6 min read
Understanding Python Decorators: Concepts, Examples, and Practical Uses
ITPUB
ITPUB
Oct 27, 2024 · Operations

How to Combine SkyWalking and ELK for End‑to‑End Trace ID Logging

This article explains how to integrate SkyWalking with an ELK stack to embed Trace IDs into logs, compares the capabilities of both platforms, and provides step‑by‑step configurations—including Logback layout and MDC approaches—to achieve full distributed tracing in microservice environments.

APMELKSkyWalking
0 likes · 9 min read
How to Combine SkyWalking and ELK for End‑to‑End Trace ID Logging
Test Development Learning Exchange
Test Development Learning Exchange
Oct 27, 2024 · Fundamentals

Fundamental and Advanced Exception Handling in Python

This article presents a comprehensive guide to Python exception handling, covering basic try‑except usage, multiple exception capture, else/finally clauses, custom exceptions, exception chaining, logging, context managers, assertions, traceback, concurrent and asynchronous error handling, and testing techniques.

asyncioconcurrencyexception-handling
0 likes · 8 min read
Fundamental and Advanced Exception Handling in Python
Lobster Programming
Lobster Programming
Oct 17, 2024 · Operations

Designing Scalable Log Systems: From Monoliths to Microservices

Effective logging is crucial for developers to diagnose system errors, and this article compares traditional monolithic file‑based logging with modern microservice‑oriented solutions such as ELK, MongoDB, and Loki, outlining their architectures, advantages, and selection criteria.

ELKLokiMongoDB
0 likes · 5 min read
Designing Scalable Log Systems: From Monoliths to Microservices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 12, 2024 · Backend Development

Understanding Spring Boot Integration with Log4j2 and Logback: Logging Mechanisms, Configuration, and Hot Level Updates

This article provides a comprehensive analysis of how Spring Boot integrates Log4j2 (and Logback), detailing the internal logging architecture, configuration options, initialization flow, logger groups, and how to perform hot updates of logger levels via the LoggersEndpoint or custom APIs.

BackendConfigurationHot Update
0 likes · 37 min read
Understanding Spring Boot Integration with Log4j2 and Logback: Logging Mechanisms, Configuration, and Hot Level Updates
php Courses
php Courses
Oct 9, 2024 · Backend Development

Extending PHP Function Logging with Laravel

This article demonstrates how to install the Monolog package, configure a custom logging channel in Laravel's config/logging.php, and use the Log facade to record custom messages, including a practical middleware example that logs API request details such as method, URI, and execution duration.

MonologPHPlogging
0 likes · 2 min read
Extending PHP Function Logging with Laravel
php Courses
php Courses
Oct 8, 2024 · Backend Development

PHP Logging and Error Debugging Techniques

This article explains how to use PHP's built‑in functions and custom helpers for logging program execution and debugging errors, covering error_log(), custom log functions, error_reporting settings, try‑catch exception handling, and a comprehensive example that combines logging with exception tracking.

Exception HandlingPHPerror-debugging
0 likes · 8 min read
PHP Logging and Error Debugging Techniques
MaGe Linux Operations
MaGe Linux Operations
Oct 5, 2024 · Operations

Mastering Docker Container Logs: Drivers, Commands, and Best Practices

This article provides a comprehensive guide to Docker container log management, covering engine and container logs, log driver options, configuration commands, storage locations across various OSes, and practical techniques for rotating, filtering, and collecting logs in production environments.

Opscontainer-logslog-drivers
0 likes · 23 min read
Mastering Docker Container Logs: Drivers, Commands, and Best Practices
Architecture Digest
Architecture Digest
Sep 30, 2024 · Fundamentals

Best Practices for Writing Application Logs and Understanding Log Levels

This article explains why logging is essential for software maintenance, outlines the purposes, readability, performance, disk‑space and timeliness considerations, describes Log4j components and log‑level hierarchy, and provides concrete code examples for TRACE, DEBUG, INFO, WARN and ERROR logging.

best practiceslog levelslog4j
0 likes · 16 min read
Best Practices for Writing Application Logs and Understanding Log Levels
Java Backend Technology
Java Backend Technology
Sep 26, 2024 · Backend Development

How to Quickly Bootstrap a Spring Boot Project and Avoid Common Version Pitfalls

This guide walks you through the pain points of environment setup, shows step‑by‑step creation of a Spring Boot project, explains version compatibility between Spring Cloud, Spring Boot and Kafka, and provides ready‑to‑use Maven configurations, global exception handling, logging, CORS, Swagger, and a curated list of useful development tools.

Exception HandlingJavaSpring Boot
0 likes · 11 min read
How to Quickly Bootstrap a Spring Boot Project and Avoid Common Version Pitfalls
Java Architect Essentials
Java Architect Essentials
Sep 26, 2024 · Backend Development

How Spring Boot Integrates Log4j2: Deep Dive into Logging Mechanics and Hot Updates

This article provides a comprehensive analysis of how Spring Boot 2.7.2 works with Log4j2 2.17.2, covering Log4j2's core components, Spring Boot's logging configuration options, the internal startup sequence, the LoggersEndpoint for runtime level changes, and custom hot‑update techniques, all illustrated with code snippets and diagrams.

ActuatorHot UpdateSpring Boot
0 likes · 38 min read
How Spring Boot Integrates Log4j2: Deep Dive into Logging Mechanics and Hot Updates
DevOps Operations Practice
DevOps Operations Practice
Sep 17, 2024 · Operations

Comparison of ELK, EFK, and PLG Log Systems

This article introduces three major log management stacks—ELK, EFK, and PLG (Promtail + Loki + Grafana)—explaining their components, deployment scenarios, and provides a detailed comparison of their storage, indexing, and visualization approaches, especially in Kubernetes environments.

EFKELKGrafana
0 likes · 5 min read
Comparison of ELK, EFK, and PLG Log Systems
21CTO
21CTO
Sep 14, 2024 · Backend Development

Master Python Logging: Best Practices, Advanced Techniques & Performance Tips

This comprehensive guide explains Python's built‑in logging module, covering basic setup, log levels, handlers, formatters, advanced configurations, performance optimizations, and best‑practice recommendations to help developers create clear, efficient, and maintainable logs for any application.

ConfigurationDebuggingbest practices
0 likes · 18 min read
Master Python Logging: Best Practices, Advanced Techniques & Performance Tips
Python Programming Learning Circle
Python Programming Learning Circle
Sep 14, 2024 · Fundamentals

10 Useful Python Decorators with Code Examples

This article introduces ten practical Python decorators—including @timer, @memoize, @validate_input, and others—explaining their purpose, providing detailed code implementations, and demonstrating how they can improve performance, error handling, logging, validation, and visualization in data‑science and general programming tasks.

Error Handlingdecoratorslogging
0 likes · 10 min read
10 Useful Python Decorators with Code Examples
Java Tech Enthusiast
Java Tech Enthusiast
Sep 14, 2024 · Backend Development

Structured Logging in Spring Boot 3.4: JSON, ECS, and Custom Formats

Spring Boot 3.4 adds built‑in support for structured logging with ready‑made JSON formats such as Elastic Common Schema, lets you configure console or file outputs, enrich logs via MDC or the fluent API, and enables custom formatters—including a JsonWriter‑based example—for fully tailored, machine‑readable log entries.

ECSJSONJava
0 likes · 8 min read
Structured Logging in Spring Boot 3.4: JSON, ECS, and Custom Formats
Test Development Learning Exchange
Test Development Learning Exchange
Sep 13, 2024 · Fundamentals

Python Standard Library for Linux: File Operations, Process Management, Networking, System Info, Time, Logging, Monitoring, Compression, and Environment Variables

This article provides a comprehensive guide to Python's standard libraries for Linux, covering file and directory manipulation, process control, socket networking, system information retrieval, date and time handling, logging, file monitoring, compression, and environment variable management with clear code examples.

Networkingfile-operationslogging
0 likes · 10 min read
Python Standard Library for Linux: File Operations, Process Management, Networking, System Info, Time, Logging, Monitoring, Compression, and Environment Variables
Test Development Learning Exchange
Test Development Learning Exchange
Sep 11, 2024 · Fundamentals

Python Basics: Dictionaries, Sets, File Operations, Regular Expressions, Logging, Unit Testing, Profiling, and Third‑Party Libraries

This tutorial introduces core Python concepts—including dictionaries, sets, file and directory handling, regular expressions, logging, unit testing, performance profiling, and common third‑party libraries—providing clear explanations and ready‑to‑run code examples for each topic.

Profilingfile-handlinglogging
0 likes · 6 min read
Python Basics: Dictionaries, Sets, File Operations, Regular Expressions, Logging, Unit Testing, Profiling, and Third‑Party Libraries
macrozheng
macrozheng
Sep 10, 2024 · Backend Development

Automate User and Order ID Logging in Spring Boot with MDC and AOP

This guide explains how to automatically inject userId and orderId into log statements in a Spring Boot microservice by configuring Log4j2 patterns, using MDC to store context variables, and creating a custom @UserLog annotation with an AOP aspect that populates the MDC before method execution.

JavaMicroservicesSpring Boot
0 likes · 9 min read
Automate User and Order ID Logging in Spring Boot with MDC and AOP
Test Development Learning Exchange
Test Development Learning Exchange
Sep 5, 2024 · Backend Development

Build a Clean, Efficient MySQL Utility Class in Python

This article walks you through designing a lightweight, high‑performance MySQL helper class in Python, covering singleton connection management, robust exception handling, logging, context‑managed connections, and practical query/execute methods with example code and usage scenarios.

Error HandlingPythonSingleton
0 likes · 7 min read
Build a Clean, Efficient MySQL Utility Class in Python
Top Architect
Top Architect
Aug 29, 2024 · Operations

Setting Up Nginx Log Monitoring with Loki, Promtail, and Grafana

This article walks through a complete, step‑by‑step solution for collecting Nginx access logs, converting them to JSON, shipping them with Promtail to Loki, and visualizing the data in Grafana, including Docker deployment, dashboard import, and world‑map plugin installation.

GrafanaLokiOperations
0 likes · 10 min read
Setting Up Nginx Log Monitoring with Loki, Promtail, and Grafana
Test Development Learning Exchange
Test Development Learning Exchange
Aug 28, 2024 · Fundamentals

Python Decorators for API Testing: Retry, Timeout, Logging, Caching, Validation, and More

This article introduces Python decorators—such as retry, timeout, logging, caching, response validation, parameterization, exception handling, performance monitoring, permission checking, and composite usage—and provides complete code examples showing how they simplify and strengthen automated API testing.

DecoratorRetryTimeout
0 likes · 10 min read
Python Decorators for API Testing: Retry, Timeout, Logging, Caching, Validation, and More
macrozheng
macrozheng
Aug 27, 2024 · Backend Development

Master Java Logging: Configure Logback & Log4j2 in Spring Boot

This article explains how to use SLF4J as a facade for Logback or Log4j2, shows Maven dependencies, demonstrates logback.xml and logback‑spring.xml configurations, covers Spring Boot's default logging setup, custom log levels, profile‑based settings, and how to switch to Log4j2 for higher performance.

JavaSpring Bootlog4j2
0 likes · 15 min read
Master Java Logging: Configure Logback & Log4j2 in Spring Boot
FunTester
FunTester
Aug 22, 2024 · Fundamentals

Master Go Error Handling: Built-in Errors, Wrapping, and Panic/Recover

This article explains Go's unique error handling approach, covering the built-in error interface, creating errors with errors.New, wrapping errors using fmt.Errorf, defining custom error types, logging errors with the log package, and managing severe failures with panic and recover, complete with practical code examples.

Error HandlingGocustom error
0 likes · 15 min read
Master Go Error Handling: Built-in Errors, Wrapping, and Panic/Recover
Test Development Learning Exchange
Test Development Learning Exchange
Aug 20, 2024 · Backend Development

Python Output and Reporting Techniques for API Testing (Beginner to Advanced)

This guide presents beginner to advanced Python techniques for formatting and reporting API test results, covering print statements, logging, JSON, markdown tables, pytest reports, unittest with HTMLTestRunner, Allure, coverage analysis, data visualization, and Selenium‑wire network capture, with practical code examples and best‑practice notes.

AutomationReportinglogging
0 likes · 11 min read
Python Output and Reporting Techniques for API Testing (Beginner to Advanced)
Test Development Learning Exchange
Test Development Learning Exchange
Aug 17, 2024 · Backend Development

Python Decorator Examples for API Testing

This article presents ten practical Python decorator patterns—such as logging, performance measurement, exception handling, retry, status‑code validation, parameter checking, rate limiting, data‑driven testing, environment configuration, and concurrent execution—each illustrated with clear use‑case descriptions and complete code snippets for API testing.

DecoratorError HandlingRetry
0 likes · 9 min read
Python Decorator Examples for API Testing
Ctrip Technology
Ctrip Technology
Aug 15, 2024 · Frontend Development

TaskHub: Frontend Automation Platform and RPC BFF Design Practices

TaskHub is a front‑end automation platform that separates core and auxiliary modules to improve task scheduling, logging, and debugging, featuring a decoupled engine, RPC BFF architecture, and real‑world use cases that demonstrate faster issue resolution, task termination, and overall development efficiency.

TypeScriptfrontend automationlogging
0 likes · 19 min read
TaskHub: Frontend Automation Platform and RPC BFF Design Practices
Sohu Tech Products
Sohu Tech Products
Aug 14, 2024 · Operations

How to Combine SkyWalking and ELK for End-to-End Trace ID Logging

This article explains why ELK alone lacks Trace ID support, describes the architectures of SkyWalking and ELK, compares their capabilities, and provides step‑by‑step configurations—including a Logback layout and MDC approach—to embed Trace IDs into logs for full distributed tracing.

APMDistributed TracingELK
0 likes · 10 min read
How to Combine SkyWalking and ELK for End-to-End Trace ID Logging
Wukong Talks Architecture
Wukong Talks Architecture
Aug 9, 2024 · Operations

Integrating SkyWalking with ELK for Distributed Trace ID Logging

This article explains how to combine SkyWalking and the ELK stack to embed Trace IDs into logs, enabling end‑to‑end request tracing, discusses the strengths and limitations of each platform, and provides configuration examples for Logback, MDC, and Kibana visualisation.

Distributed TracingELKObservability
0 likes · 12 min read
Integrating SkyWalking with ELK for Distributed Trace ID Logging
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 1, 2024 · Backend Development

Backend API Design Best Practices

This article outlines comprehensive backend API design guidelines, covering parameter validation, extensibility, idempotency, logging, thread‑pool isolation, third‑party error handling, asynchronous processing, parallel queries, rate limiting, security, lock granularity, and strategies to avoid long‑running transactions.

AsynchronousBackendIdempotency
0 likes · 11 min read
Backend API Design Best Practices
FunTester
FunTester
Jul 30, 2024 · Operations

Mastering True Observability: Models, Practices, and AI‑Driven Automation

This article explains why true observability is essential for modern software, outlines its five core pillars, details a four‑stage maturity model with benefits and drawbacks, and provides practical steps—including data collection, team organization, and AI automation—to advance from basic monitoring to predictive, self‑healing systems.

AIAutomationMaturity Model
0 likes · 13 min read
Mastering True Observability: Models, Practices, and AI‑Driven Automation
JD Tech Talk
JD Tech Talk
Jul 29, 2024 · Backend Development

Best Practices for Service Design and API Development in Enterprise Systems

This article presents comprehensive guidelines for designing robust, secure, and maintainable enterprise services, covering API path conventions, request handling, input/output parameter design, business logic recommendations, exception handling, dependency management, monitoring, degradation strategies, encryption, and system admission practices.

Error HandlingMicroservicesSecurity
0 likes · 19 min read
Best Practices for Service Design and API Development in Enterprise Systems
Architecture Digest
Architecture Digest
Jul 28, 2024 · Backend Development

Common Backend Development Pitfalls and Their Solutions

The article outlines frequent backend development problems such as duplicate configuration files, hard‑coded parameters, mixed logging practices, insufficient code review, and Maven dependency issues, and provides practical solutions including unified Spring configuration, proper logging, and disciplined deployment processes.

logging
0 likes · 5 min read
Common Backend Development Pitfalls and Their Solutions
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 11, 2024 · Backend Development

Why Your logback-spring.xml Isn’t Working and How to Fix It

This article walks through the complete troubleshooting process for a non‑functional logback‑spring.xml in a Spring Boot application, covering background, configuration steps, common pitfalls such as variable resolution and dependency conflicts, remote debugging techniques, and final recommendations to ensure proper log output.

ConfigurationDebuggingJava
0 likes · 9 min read
Why Your logback-spring.xml Isn’t Working and How to Fix It
Python Programming Learning Circle
Python Programming Learning Circle
Jul 8, 2024 · Fundamentals

Enhancing Python Error Messages with PrettyError

This article introduces the PrettyError library for Python, explains how to install it, demonstrates quick start examples, and details its key features such as colored output, timestamps, configurable stack traces, code context, and environment‑based settings to make debugging faster and more readable.

Configurationerror-handlinglogging
0 likes · 9 min read
Enhancing Python Error Messages with PrettyError
Alibaba Cloud Observability
Alibaba Cloud Observability
Jul 4, 2024 · Cloud Native

Mastering AliyunPipelineConfig: A Complete Guide to Modern Log Collection in Cloud Native Environments

This article explains the design, advantages, and detailed configuration of the new AliyunPipelineConfig CRD for Alibaba Cloud Log Service, covering its structure, field specifications, migration from AliyunLogConfig, validation, error handling, and practical examples for Kubernetes log collection.

Alibaba CloudCRDCloud Native
0 likes · 24 min read
Mastering AliyunPipelineConfig: A Complete Guide to Modern Log Collection in Cloud Native Environments
Open Source Linux
Open Source Linux
Jul 1, 2024 · Operations

Deploy a Full ELK Stack on a Single Ubuntu Server

This guide walks you through installing Java, Elasticsearch, Kibana, Logstash, and Filebeat on Ubuntu 18.04, configuring a dedicated data disk, adjusting service settings, and testing log collection with a complete script for a compact ELK demo environment.

ELKElasticsearchFilebeat
0 likes · 11 min read
Deploy a Full ELK Stack on a Single Ubuntu Server
Programmer DD
Programmer DD
Jun 21, 2024 · Backend Development

Build a Lightweight Java Logging System with Loki, Loki4j, and Grafana

Learn how to set up a simple yet powerful Java logging solution by installing Loki and Grafana via Docker, configuring Loki4j in a Spring Boot project, and visualizing logs in Grafana dashboards, with step‑by‑step instructions and essential code snippets.

DockerGrafanaJava
0 likes · 8 min read
Build a Lightweight Java Logging System with Loki, Loki4j, and Grafana
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 17, 2024 · Backend Development

20 Essential Spring Boot Best Practices to Boost Your Java Backend

This article presents a comprehensive collection of Spring Boot best practices—including package structuring, design patterns, starter usage, dependency management, constructor injection, SLF4J logging, pagination, caching, exception handling, naming conventions, and code quality tools—to help developers build more efficient, maintainable, and robust Java backend applications.

BackendDesign PatternsJava
0 likes · 10 min read
20 Essential Spring Boot Best Practices to Boost Your Java Backend
dbaplus Community
dbaplus Community
Jun 16, 2024 · Backend Development

Building a Scalable MySQL Data Migration Service with Microservices and Design Patterns

This article presents a comprehensive guide to designing and implementing a Java‑based MySQL large‑table migration tool using microservice architecture, multiple design patterns, multithreading, custom logging, and flexible migration modes, complete with code snippets, repository links, and deployment considerations.

Data MigrationDesign PatternsJava
0 likes · 22 min read
Building a Scalable MySQL Data Migration Service with Microservices and Design Patterns
FunTester
FunTester
Jun 11, 2024 · Backend Development

Mastering High‑Performance Structured Logging in Go with Uber’s Zap

This guide introduces Uber’s open‑source Zap library for Go, explains its performance‑focused features, shows how to install and configure it, and provides step‑by‑step code examples for basic logging, sugared logging, level control, file output, and log rotation.

Backend DevelopmentGoZAP
0 likes · 15 min read
Mastering High‑Performance Structured Logging in Go with Uber’s Zap
Architect
Architect
Jun 9, 2024 · Backend Development

Using MDC and TraceId for Log Correlation in Java Applications

This article explains how to use SLF4J MDC together with a TraceId header to correlate logs across threads, services, and distributed tracing tools like SkyWalking, providing code examples for filters, Feign interceptors, thread‑pool adapters, and Logback configuration.

Javalogbacklogging
0 likes · 15 min read
Using MDC and TraceId for Log Correlation in Java Applications
DevOps Cloud Academy
DevOps Cloud Academy
Jun 4, 2024 · Operations

Comprehensive DevOps Guide: Collaboration, Automation, CI/CD, IaC, Monitoring, and Logging with Practical Code Examples

This comprehensive DevOps guide explains core concepts such as collaboration, automation, CI/CD pipelines, infrastructure as code, and monitoring/logging, and includes practical code examples for Git, shell scripts, Jenkins, GitHub Actions, AWS CodePipeline, Ansible, Docker Compose, Prometheus, Grafana, Fluentd, and Elasticsearch.

AutomationDevOpsInfrastructure as Code
0 likes · 17 min read
Comprehensive DevOps Guide: Collaboration, Automation, CI/CD, IaC, Monitoring, and Logging with Practical Code Examples