smartbetter commented on code in PR #22154:
URL: https://github.com/apache/shardingsphere/pull/22154#discussion_r1029034329
##########
infra/executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/log/SQLLogger.java:
##########
@@ -44,7 +44,7 @@ public final class SQLLogger {
*/
public static void logSQL(final QueryContext queryContext, final boolean
showSimple, final ExecutionContext executionContext) {
log("Logic SQL: {}", queryContext.getSql());
- log("SQLStatement: {}",
queryContext.getSqlStatementContext().getSqlStatement());
+ log.debug("SQLStatement: {}",
queryContext.getSqlStatementContext().getSqlStatement());
Review Comment:
> How about move it to `logNormalMode`?
I don't need SQLStatement log, but I need logNormalMode logs. I think
SQLStatement log to debug would be better.
--
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]