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

9.1 KB~150 entries

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
Download

api-service.log

5.7 KB~80 entries

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
Download

database-service.log

7.4 KB~95 entries

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
Download

Format Demonstration

Examples of different log formats supported by Log4j Analyzer

text-format.log

1.0 KB~15 entries

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
Download

xml-format.xml

2.0 KB~12 entries

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>
Download

plain-text.log

424 B~8 entries

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
Download

Performance & Features

Files for testing performance, live monitoring, and advanced features

large-dataset.log

612 KB5000+ entries

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)
Download

active-service.log

801 B~12 entries

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)
Download

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.