Skip to content

Conversation

bauer-andreas
Copy link
Contributor

According to the logging best practices 001: Choosing log levels it is okay for libraries to chose the info log level "[...] for things that went wrong but can’t be communicated through other means like throwing from a method".

Postgres connection errors are currently not surfaced and retried forever. To provide better visibility for these cases we bump the log level from debug to info in this case.

@bauer-andreas bauer-andreas force-pushed the andreas-bauer/log-level-info branch from b1defc7 to 0870bb3 Compare July 30, 2025 13:31
@fabianfett fabianfett added the semver-minor Adds new public API. label Aug 13, 2025
@fabianfett fabianfett merged commit 8ee6118 into vapor:main Aug 13, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants