Implementing Global Request Logging in Spring Boot with ECharts Dashboard Integration
Database SchemaTable CreationCREATE TABLE `request_audit_log` (
`log_id` BIGINT NOT NULL AUTO_INCREMENT,
`created_at` DATETIME NOT NULL COMMENT 'Request timestamp',
`client_ip` VARCHAR(30) NOT NULL COMMENT 'Client IP address',
`api_category` VARCHAR(50) NOT NULL DEFAULT 'General' COMMENT 'API category',
`endpoint_url` VARCHAR(100) NOT ...
Posted on Fri, 08 May 2026 23:38:15 +0000 by Eskimo887
Working with Properties, XML, and Logging in Java
Properties Files
Properties files store key-value pairs, with keys being unique. They typically use the .properties extension.
Reading Properties Files
import java.io.FileReader;
import java.util.Properties;
import java.util.Set;
public class PropertiesReader {
public static void main(String[] args) throws Exception {
Properties pr ...
Posted on Fri, 08 May 2026 18:42:13 +0000 by Allen4172
Logging JVM Crashes in Java Services
Capturing Crash Information
Adding a Global Uncaught Exception Hook
To record unexpected failures, install a handler for uncaught exceptions at the thread level. This catches errors that escape typical try-catch blocks.
Thread.setDefaultUncaughtExceptionHandler((thread, throwable) -> {
String logEntry = String.format("[FATAL] Thread ...
Posted on Fri, 08 May 2026 14:12:00 +0000 by Sentosa
Python Logging: Effective Error Tracking and Debugging
Many applications require logging functionality to capture various types of information including regular access logs, errors, warnings, and other output messages. Python's logging module provides a standardized interface for storing logs in various formats. The module supports different log levels organized hierarchically: critical > error > w ...
Posted on Fri, 08 May 2026 11:49:05 +0000 by airdee