pgbouncer icon indicating copy to clipboard operation
pgbouncer copied to clipboard

Raise errors from log_debug to either warning or error.

Open dimitri opened this issue 6 years ago • 1 comments

Some errors would be logged only in the debug log level, which means production setups won't see them. Those error messages are very useful when debugging corner cases, some of them might look like pgbouncer outages without the full story.

This patch doesn't add new logs, only raises the chatter up to a level where it's possible to relate strange behaviors with pgbouncer internal activity.

dimitri avatar Nov 12 '18 17:11 dimitri

There is probably merit to this, but I'd need to do more analysis about when each message is expected to happen. Also, when promoting debug messages to user-facing, they should be rephrased to a more user-facing style.

petere avatar Aug 03 '19 07:08 petere