Available Levels
Log levels follow a hierarchy from most to least verbose:WARNING will log both WARNING and ERROR messages.
Configuration
Single Level
Multiple Levels
Environment-based
Pino Log Levels
When using Pino integration, you can also configure Pino’s log levels:Best Practices
- Development: Use
DEBUGfor detailed debugging - Staging: Use
INFOfor normal operation - Production: Use
WARNINGorERRORfor normal operation - Monitoring: Set up alerts for
ERRORlevel