Collecting Logs
ItsFriday provides powerful log aggregation and search capabilities for debugging and monitoring your applications.Log Structure
Each log entry contains:| Field | Type | Description |
|---|---|---|
timestamp | DateTime | When the log was created |
level | String | Log level (debug, info, warn, error) |
message | String | Log message |
attributes | Map | Additional structured data |
trace_id | String | Optional trace correlation ID |
Sending Logs via API
Single Log Entry
Batch Logs
Python Integration
Using the SDK
Custom Logging Handler
Django Integration
JavaScript/Node.js
Structured Logging Best Practices
Use structured attributes
Use structured attributes
Include correlation IDs
Include correlation IDs
Use appropriate log levels
Use appropriate log levels
Searching Logs
Query logs using the search API:Log Retention
Logs are retained based on your plan:| Plan | Retention |
|---|---|
| Free | 7 days |
| Pro | 30 days |
| Enterprise | Custom |