feat: add configurable Postal logger level defaulting to INFO (#3626)

This commit is contained in:
pplulee
2026-09-13 13:12:57 +01:00
committed by GitHub
parent 3be663dc89
commit ced77a3860
4 changed files with 17 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ This document contains all the environment variables which are available for thi
| `LOGGING_RAILS_LOG_ENABLED` | Boolean | Enable the default Rails logger | false |
| `LOGGING_SENTRY_DSN` | String | A DSN which should be used to report exceptions to Sentry | |
| `LOGGING_ENABLED` | Boolean | Enable the Postal logger to log to STDOUT | true |
| `LOGGING_LEVEL` | String | The minimum log level for the Postal logger (debug, info, warn, error, fatal) | INFO |
| `LOGGING_HIGHLIGHTING_ENABLED` | Boolean | Enable highlighting of log lines | false |
| `GELF_HOST` | String | GELF-capable host to send logs to | |
| `GELF_PORT` | Integer | GELF port to send logs to | 12201 |
+2
View File
@@ -89,6 +89,8 @@ logging:
sentry_dsn:
# Enable the Postal logger to log to STDOUT
enabled: true
# The minimum log level for the Postal logger (debug, info, warn, error, fatal)
level: INFO
# Enable highlighting of log lines
highlighting_enabled: false