You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/11/22 06:49:52 UTC

[GitHub] [shardingsphere] terrymanu commented on a diff in pull request #22154: Update SQLStatement log level(#21764)

terrymanu commented on code in PR #22154:
URL: https://github.com/apache/shardingsphere/pull/22154#discussion_r1028931853


##########
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`?



-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org