Skip to content

Commit

Permalink
[chore](log) log stream load put request in debug level (#41376)
Browse files Browse the repository at this point in the history
The TStreamLoadPutRequest contains user passwords, printing it in the
log poses a security risk. This is not a particularly critical log, so
it has been adjusted to the debug level.
  • Loading branch information
liaoxin01 authored Sep 29, 2024
1 parent d8ee8e5 commit 421fde0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ public void setCloudCluster() throws UserException {
return;
}

LOG.info("stream load put request: {}", request);
if (LOG.isDebugEnabled()) {
LOG.debug("stream load put request: {}", request);
}
// create connect context
ConnectContext ctx = new ConnectContext();
ctx.setEnv(Env.getCurrentEnv());
Expand Down

0 comments on commit 421fde0

Please sign in to comment.