Skip to content

Commit f956971

Browse files
Logging level of Postgres connection parameters has been raised
1 parent a8e5ad1 commit f956971

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/github/pgasync/PgProtocolStream.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,13 @@ protected void gotMessage(Message message) {
205205
}
206206
readyForQueryPendingMessage = null;
207207
} else if (message instanceof ParameterStatus) {
208-
Logger.getLogger(PgProtocolStream.class.getName()).log(Level.INFO, message.toString());
208+
Logger.getLogger(PgProtocolStream.class.getName()).log(Level.FINE, message.toString());
209209
} else if (message instanceof BackendKeyData) {
210-
Logger.getLogger(PgProtocolStream.class.getName()).log(Level.INFO, message.toString());
210+
Logger.getLogger(PgProtocolStream.class.getName()).log(Level.FINE, message.toString());
211211
} else if (message instanceof NoticeResponse) {
212212
Logger.getLogger(PgProtocolStream.class.getName()).log(Level.WARNING, message.toString());
213213
} else if (message instanceof UnknownMessage) {
214-
Logger.getLogger(PgProtocolStream.class.getName()).log(Level.INFO, message.toString());
214+
Logger.getLogger(PgProtocolStream.class.getName()).log(Level.FINE, message.toString());
215215
} else {
216216
consumeOnResponse().completeAsync(() -> message, futuresExecutor);
217217
}

0 commit comments

Comments
 (0)