Skip to content

Commit 69fc999

Browse files
committed
Update log levels
1 parent d937692 commit 69fc999

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jdbc/src/main/java/tech/ydb/jdbc/connection/YdbExecutor.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ public void execute(String msg, Supplier<CompletableFuture<Status>> runnableSupp
7979
return;
8080
}
8181

82-
logger.fine(msg);
82+
logger.finest(msg);
8383
Stopwatch sw = Stopwatch.createStarted();
8484

8585
try {
8686
simpleExecute(runnableSupplier);
87-
logger.log(Level.FINE, "[{0}] OK ", sw.stop());
87+
logger.log(Level.FINEST, "[{0}] OK ", sw.stop());
8888
} catch (SQLException | RuntimeException ex) {
8989
logger.log(Level.FINE, "[{0}] {1} ", new Object[] { sw.stop(), ex.getMessage() });
9090
throw ex;
@@ -96,12 +96,12 @@ public <T> T call(String msg, Supplier<CompletableFuture<Result<T>>> callSupplie
9696
return simpleCall(callSupplier);
9797
}
9898

99-
logger.fine(msg);
99+
logger.finest(msg);
100100
Stopwatch sw = Stopwatch.createStarted();
101101

102102
try {
103103
T value = simpleCall(callSupplier);
104-
logger.log(Level.FINE, "[{0}] OK ", sw.stop());
104+
logger.log(Level.FINEST, "[{0}] OK ", sw.stop());
105105
return value;
106106
} catch (SQLException | RuntimeException ex) {
107107
logger.log(Level.FINE, "[{0}] {1} ", new Object[] { sw.stop(), ex.getMessage() });

0 commit comments

Comments
 (0)