Skip to content

Commit a592814

Browse files
committed
Fix log spam in ClickHouseLZ4InputStream and StatementImpl
Signed-off-by: Patrick Schlindwein <[email protected]>
1 parent da90573 commit a592814

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

client-v2/src/main/java/com/clickhouse/client/api/internal/ClickHouseLZ4InputStream.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private int refill() throws IOException {
129129

130130
if (buffer.capacity() < uncompressedSize) {
131131
buffer = ByteBuffer.allocate(uncompressedSize);
132-
LOG.warn("Buffer size is too small, reallocate buffer with size: " + uncompressedSize);
132+
LOG.debug("Buffer size is too small, reallocate buffer with size: {}", uncompressedSize);
133133
}
134134
decompressor.decompress(ByteBuffer.wrap(block), offset, buffer, 0, uncompressedSize);
135135
buffer.position(0);

jdbc-v2/src/main/java/com/clickhouse/jdbc/StatementImpl.java

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ public StatementImpl(ConnectionImpl connection) throws SQLException {
4646
this.metrics = null;
4747
this.batch = new ArrayList<>();
4848
this.schema = connection.getSchema();// remember DB name
49-
LOG.info("Statement schema " + schema);
5049
this.maxRows = 0;
5150
}
5251

0 commit comments

Comments
 (0)