Skip to content

Commit eb005e7

Browse files
committed
fix(logging): prevent excessive MySQL warning logs
Lower MySQL warning log level from INFO to DEBUG to reduce log spam while maintaining debugging visibility. Closes #311
1 parent 823dd86 commit eb005e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

r2dbc-mysql/src/main/java/io/asyncer/r2dbc/mysql/client/ReactorNettyClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ public void error(Throwable e) {
381381
public void next(ServerMessage message) {
382382
if (DEBUG_ENABLED) {
383383
if (message instanceof WarningMessage) {
384-
int warnings = ((WarningMessage) message).getWarnings();
384+
final int warnings = ((WarningMessage) message).getWarnings();
385385
if (warnings == 0) {
386386
logger.debug("Response: {}", message);
387387
} else {

0 commit comments

Comments
 (0)