Logger
The Logger tab tracks application logs and data change events for audit purposes. Go to Settings → Logger to access these settings.
Basic logging configuration
Set the core logging behavior for your application.
| Setting | Default | Description |
|---|---|---|
| Logging Library | Pino | The logging backend to use. |
| Log Level | info | Minimum log level to record. Options: debug, info, warn, error. |
| Log Directory | logs | Directory where log files are stored. |
| Log Data Changes | Enabled | When turned on, enables data change logging for audit trails. |
Data change logging configuration
When Log Data Changes is enabled, you can set which operations to track for each collection.
Collection settings
Each collection displays a row with the following options:
| Column | Description |
|---|---|
| Collections | The collection name |
| Create | Log when records are created |
| List | Log when records are listed or queried |
| Detail | Log when individual records are viewed |
| Update | Log when records are updated |
| Delete | Log when records are deleted |
| Field Configuration | Set which fields to include in logs |
Field configuration
Click the settings icon to open the field configuration dialog for a collection:
- Watch all — Monitor all fields for changes
- Unwatch all — Stop monitoring all fields
- Individual fields — Toggle specific fields to include in change logs
Each field shows its type icon and name. Select the fields you want to track and click Done.
note
Fields added in the future are automatically watched if you have any fields selected for that collection.
Log levels
| Level | Use case |
|---|---|
debug | Detailed development information |
info | General operational events |
warn | Warning conditions that might need attention |
error | Error conditions that require action |
tip
Use info for production environments. Switch to debug during development for more detailed output.
Related
- Settings Overview
- Collections — Collections that can be tracked