Sample Log Files
Download sample log files to test all features of Log4j Analyzer. Includes multi-file correlation demos, format examples, and performance test files.
Multi-File Correlation Demo
Three synchronized log files demonstrating timestamp-based correlation across different services
application-demo.log
Main application service logs showing lifecycle, API requests, errors, and scheduled tasks
Features:
- •Payment gateway errors
- •Search highlighting demos
- •Text format with dot milliseconds
Preview:
2025-09-30 10:00:00.123 [main] INFO com.example.Application - Application starting up 2025-09-30 10:00:05.789 [http-thread-1] INFO com.example.api.UserController - Processing GET /api/users 2025-09-30 10:00:22.456 [worker-3] ERROR com.example.payment.Gateway - Payment timeout after 30s
api-service.log
API Gateway logs showing request routing, upstream timeouts, and rate limiting
Features:
- •Correlated timestamps
- •Gateway-level errors
- •Retry mechanisms
Preview:
2025-09-30 10:00:05.789 [gateway-1] INFO com.api.Gateway - Routing request to /api/users 2025-09-30 10:00:22.450 [gateway-2] WARN com.api.Gateway - Upstream timeout detected 2025-09-30 10:00:22.465 [gateway-2] INFO com.api.Gateway - Retrying failed request
database-service.log
Database service logs showing queries, connection pooling, and backups
Features:
- •Connection pool management
- •Query execution logs
- •Backup operations
Preview:
2025-09-30 10:00:01.234 [main] INFO com.db.Pool - Initializing connection pool (size: 10) 2025-09-30 10:00:06.012 [worker-1] DEBUG com.db.Query - Executing: SELECT * FROM users 2025-09-30 10:00:22.300 [worker-2] ERROR com.db.Connection - Connection timeout after 5s
Format Demonstration
Examples of different log formats supported by Log4j Analyzer
text-format.log
Standard Log4j text format with comma milliseconds and thread names
Features:
- •Text format parsing
- •Thread names
- •Exception stack traces
Preview:
2025-09-30 10:00:00,123 [main] INFO com.example.App - Starting application 2025-09-30 10:00:01,456 [worker-1] DEBUG com.example.Service - Processing request 2025-09-30 10:00:02,789 [worker-1] ERROR com.example.Service - Failed to process
xml-format.xml
XML Log4j format with structured event data and full metadata
Features:
- •XML parsing
- •Structured events
- •Complete metadata
Preview:
<log4j:event logger="com.example.App" timestamp="1696071600123" level="INFO"> <log4j:message>Application started</log4j:message> <log4j:properties> <log4j:data name="thread" value="main"/> </log4j:properties> </log4j:event>
plain-text.log
Non-parseable plain text file demonstrating fallback mode
Features:
- •Plain text fallback
- •Graceful degradation
- •Basic text display
Preview:
Application Server Log ==================== Server started at 10:00:00 User request received Processing complete
Performance & Features
Files for testing performance, live monitoring, and advanced features
large-dataset.log
Large file demonstrating pagination performance and responsive UI
Features:
- •60fps performance
- •Pagination testing
- •Search with high volume
Preview:
2025-09-30 10:00:00.001 [worker-1] INFO com.example.Service - Processing request #1 2025-09-30 10:00:00.023 [worker-2] INFO com.example.Service - Processing request #2 ... (5000+ entries demonstrating pagination performance)
active-service.log
File for testing live tail and real-time monitoring features
Features:
- •Live tail demo
- •File change detection
- •Real-time updates
Preview:
2025-09-30 10:00:00.123 [worker] INFO com.example.ActiveService - Service started 2025-09-30 10:00:01.456 [worker] INFO com.example.ActiveService - Request processed (Append new entries to see live tail in action)
Usage Tips
Get the most out of these sample files with these testing tips
Multi-File Analysis
Open all three correlation files (application-demo, api-service, database-service) together. Click on the payment error around 10:00:22 to see timestamp synchronization across services.
Search Demo
Use regex pattern "ERROR.*timeout|WARN.*degraded" to find all timeout and degraded service messages across files with highlighting.
Live Tail Testing
Open active-service.log and append new entries to see real-time monitoring in action. The app automatically detects file changes.
Performance Test
Open large-dataset.log and use search/filtering to see how pagination maintains 60fps performance with thousands of entries.
Ready to Try These Samples?
Download Log4j Analyzer to test these sample files and experience professional log analysis on macOS.