Skip to content

Commit b1defc7

Browse files
committed
Log connection failed events at info level
1 parent 02f74ca commit b1defc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PostgresNIO/Pool/PostgresClientMetrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class PostgresClientMetrics: ConnectionPoolObservabilityDelegate {
1919
/// A connection attempt failed with the given error. After some period of
2020
/// time ``startedConnecting(id:)`` may be called again.
2121
func connectFailed(id: ConnectionID, error: Error) {
22-
self.logger.debug("Connection creation failed", metadata: [
22+
self.logger.info("Connection creation failed", metadata: [
2323
.connectionID: "\(id)",
2424
.error: "\(String(reflecting: error))"
2525
])

0 commit comments

Comments
 (0)