You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2020/04/16 21:35:11 UTC

[GitHub] [calcite] hsyuan commented on a change in pull request #1910: [CALCITE-3915] Add rule listener to report rule attempts and time at …

hsyuan commented on a change in pull request #1910: [CALCITE-3915] Add rule listener to report rule attempts and time at …
URL: https://github.com/apache/calcite/pull/1910#discussion_r409862155
 
 

 ##########
 File path: core/src/main/java/org/apache/calcite/util/trace/CalciteTrace.java
 ##########
 @@ -118,6 +118,11 @@ public static Logger getSqlToRelTracer() {
     return LoggerFactory.getLogger("org.apache.calcite.sql2rel");
   }
 
+  public static Logger getRuleAttemptsTracer() {
+    return LoggerFactory.getLogger(
+        "org.apache.calcite.plan.AbstractRelOptPlanner.RuleAttemptsListener");
 
 Review comment:
   Better use `RuleAttemptsListener.class.getName()`?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services