Skip to content

Commit 292d32a

Browse files
authored
Merge pull request #2303 from patschl/main
[client-v2/jdbc-v2] Fix log spam
2 parents f318d76 + 78399b2 commit 292d32a

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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)