-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjson_example.log
More file actions
10 lines (10 loc) · 1.4 KB
/
json_example.log
File metadata and controls
10 lines (10 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
[2025-11-30 14:00:00] INFO: API Request received: {"method": "POST", "endpoint": "/api/users", "body": {"name": "John Doe", "email": "john@example.com", "age": 30}}
[2025-11-30 14:00:01] DEBUG: Validating JSON payload: {"required": ["name", "email"], "optional": ["age", "phone"]}
[2025-11-30 14:00:02] INFO: User created successfully: {"id": 12345, "name": "John Doe", "created_at": "2025-11-30T14:00:02Z", "status": "active"}
[2025-11-30 14:00:05] WARN: Large JSON response detected (2.5MB): {"users": [...], "total": 50000, "page": 1}
[2025-11-30 14:00:10] ERROR: JSON parse error at line 5: Expected ',' or '}' but got 'null'
[2025-11-30 14:00:15] INFO: WebSocket message: {"type": "notification", "data": {"message": "New order received", "priority": "high", "timestamp": 1732974015}}
[2025-11-30 14:00:20] DEBUG: Configuration loaded: {"database": {"host": "localhost", "port": 5432, "ssl": true}, "cache": {"enabled": true, "ttl": 3600}}
[2025-11-30 14:00:25] INFO: GraphQL query executed: {"query": "{ users(limit: 10) { id name email } }", "variables": {}, "operationName": null}
[2025-11-30 14:00:30] ERROR: Validation failed: {"errors": [{"field": "email", "message": "Invalid email format"}, {"field": "age", "message": "Must be positive integer"}]}
[2025-11-30 14:00:35] SUCCESS: Batch processing completed: {"processed": 1000, "failed": 5, "duration": "45s", "results": {"created": 850, "updated": 145, "errors": 5}}