-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.log
More file actions
34 lines (33 loc) · 2.6 KB
/
Copy pathapp.log
File metadata and controls
34 lines (33 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Sample Application Log File
# Format: [TIMESTAMP] [LEVEL] [SOURCE] MESSAGE
[2024-01-15 08:00:01] [INFO] [server] Application starting up...
[2024-01-15 08:00:02] [INFO] [server] Loading configuration from config.yaml
[2024-01-15 08:00:03] [DEBUG] [database] Connecting to PostgreSQL at localhost:5432
[2024-01-15 08:00:04] [INFO] [database] Database connection established
[2024-01-15 08:00:05] [INFO] [server] Server listening on port 8080
[2024-01-15 08:01:12] [DEBUG] [auth] Processing login request for user: admin
[2024-01-15 08:01:13] [INFO] [auth] User 'admin' authenticated successfully
[2024-01-15 08:01:45] [WARNING] [database] Query execution time exceeded 500ms: SELECT * FROM orders
[2024-01-15 08:02:10] [ERROR] [database] Connection pool exhausted. Max connections: 10
[2024-01-15 08:02:11] [ERROR] [server] Failed to process request: database unavailable
[2024-01-15 08:02:15] [WARNING] [monitor] CPU usage at 87% - approaching threshold
[2024-01-15 08:02:30] [ERROR] [database] Connection pool exhausted. Max connections: 10
[2024-01-15 08:02:45] [CRITICAL] [server] Service degraded - multiple database failures detected
[2024-01-15 08:03:00] [INFO] [database] Connection pool recovered. Available connections: 8
[2024-01-15 08:03:01] [INFO] [server] Service restored to normal operation
[2024-01-15 08:05:22] [DEBUG] [auth] Session token validated for user: neo
[2024-01-15 08:06:11] [WARNING] [monitor] Disk usage at 91% on /var/log partition
[2024-01-15 08:07:30] [ERROR] [app] NullPointerException in UserService.getProfile() line 142
[2024-01-15 08:07:31] [ERROR] [app] NullPointerException in UserService.getProfile() line 142
[2024-01-15 08:08:00] [INFO] [monitor] Health check passed - all systems nominal
[2024-01-15 08:10:00] [DEBUG] [server] Garbage collection triggered - heap at 78%
[2024-01-15 08:10:01] [DEBUG] [server] GC completed in 120ms. Heap reduced to 42%
[2024-01-15 08:15:00] [WARNING] [auth] Failed login attempt for user: unknown_user (IP: 192.168.1.105)
[2024-01-15 08:15:01] [WARNING] [auth] Failed login attempt for user: unknown_user (IP: 192.168.1.105)
[2024-01-15 08:15:02] [WARNING] [auth] Failed login attempt for user: unknown_user (IP: 192.168.1.105)
[2024-01-15 08:15:03] [CRITICAL] [auth] Brute force attack detected from IP: 192.168.1.105
[2024-01-15 08:15:04] [INFO] [auth] IP 192.168.1.105 has been blocked
[2024-01-15 08:20:00] [INFO] [server] Daily backup started
[2024-01-15 08:20:45] [INFO] [server] Daily backup completed successfully
[2024-01-15 08:25:00] [DEBUG] [database] Running scheduled vacuum on orders table
[2024-01-15 08:25:10] [INFO] [database] Vacuum completed. Reclaimed 245MB