Skip to content

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

Open
pplulee wants to merge 2 commits into
postalserver:mainfrom
pplulee:feat/configurable-log-level
Open

feat: add configurable Postal logger level defaulting to INFO#3626
pplulee wants to merge 2 commits into
postalserver:mainfrom
pplulee:feat/configurable-log-level

Conversation

@pplulee

@pplulee pplulee commented Aug 31, 2026

Copy link
Copy Markdown

Summary

  • Add a logging.level config option (and LOGGING_LEVEL env var) so the Postal logger threshold can be set without code changes.
  • Default the logger to INFO instead of Klogger's DEBUG, while still allowing debug / info / warn / error / fatal.

Test plan

  • Start Postal with no logging.level set and confirm DEBUG lines are not emitted.
  • Set logging.level: debug (or LOGGING_LEVEL=debug) and confirm DEBUG logs appear.
  • Set an invalid value (e.g. verbose) and confirm startup fails with a clear error.

Made with Cursor

pplulee and others added 2 commits August 31, 2026 12:26
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants