Reamer commented on code in PR #4732:
URL: https://github.com/apache/zeppelin/pull/4732#discussion_r1524498089
##########
jdbc/src/main/java/org/apache/zeppelin/jdbc/JDBCInterpreter.java:
##########
@@ -799,7 +800,8 @@ private InterpreterResult executeSql(String sql,
// so we need to trim it first in this case.
sqlToExecute = sqlToExecute.trim();
}
- LOGGER.info("Execute sql: " + sqlToExecute);
+ LOGGER.info(String.format("[%s|%s|%s] Execute sql: %s",
+ user, noteId, paragraphId, sqlToExecute));
Review Comment:
```suggestion
LOGGER.info("[{}|{}|{}] Execute sql: {}", user, noteId, paragraphId,
sqlToExecute);
```
See: https://rules.sonarsource.com/java/RSPEC-2629/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]