Auth Logs
Configure auth-specific logging separately from main Atmos logs. This is useful for debugging authentication issues without enabling verbose logging for all Atmos operations.
Configuration
levelLog level for auth operations. Options:
Debug- Verbose output including credential flowsInfo- Standard information about auth operationsWarn- Warnings onlyError- Errors only
file- Optional. Path to write auth logs. If not specified, logs go to stderr.
Log Levels
Debug
Use Debug level when troubleshooting authentication issues:
Debug output includes:
- Provider initialization details
- Token refresh operations
- Credential resolution steps
- API call details (without secrets)
Info (Default)
Standard logging for normal operations:
Info output includes:
- Authentication success/failure
- Identity selection
- Session expiration notices
Warn
Only log warnings and errors:
Warn output includes:
- Credential expiration warnings
- Fallback behavior notices
- Configuration deprecation warnings
Error
Only log errors:
Writing to File
For persistent logging or debugging in automated environments:
This is useful for:
- CI/CD debugging
- Post-mortem analysis
- Audit logging
The log file path must be writable by the user running Atmos. Parent directories must exist.
Separating Auth Logs from Main Logs
Auth logs are separate from main Atmos logs configured in the logs section:
This allows you to enable verbose auth logging without affecting other Atmos output.