Skip to content

Commit

Permalink
fix: change JNI sink normal logs to debug level (#19758) (#19902)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Fu <[email protected]>
  • Loading branch information
github-actions[bot] and fuyufjh authored Dec 24, 2024
1 parent a40fa8f commit 6da5969
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ public static void runJniSinkWriterThread(long requestRxPtr, long responseTxPtr)
} catch (Throwable t) {
sinkWriterStreamObserver.onError(t);
}
LOG.info("end of runJniSinkWriterThread");
LOG.debug("end of runJniSinkWriterThread");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void onError(Throwable throwable) {

@Override
public void onCompleted() {
LOG.info("JniSinkWriterHandler onCompleted");
LOG.debug("JniSinkWriterHandler onCompleted");
}

public boolean isSuccess() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public void onError(Throwable throwable) {

@Override
public void onCompleted() {
LOG.info("sink writer completed");
LOG.debug("sink writer completed");
cleanup();
responseObserver.onCompleted();
}
Expand Down
2 changes: 1 addition & 1 deletion src/connector/src/sink/remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ impl EmbeddedConnectorClient {

match result {
Ok(_) => {
tracing::info!("end of jni call {}::{}", class_name, method_name);
tracing::debug!("end of jni call {}::{}", class_name, method_name);
}
Err(e) => {
tracing::error!(error = %e.as_report(), "jni call error");
Expand Down

0 comments on commit 6da5969

Please sign in to comment.