vvysotskyi commented on a change in pull request #1957: DRILL-7530: Fix class 
names in loggers
URL: https://github.com/apache/drill/pull/1957#discussion_r368673238
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/planner/common/DrillRelOptUtil.java
 ##########
 @@ -603,7 +606,7 @@ public static boolean guessRows(RelNode rel) {
             || (tableMetadata = table.getGroupScan().getTableMetadata()) == 
null
             || 
!TableStatisticsKind.HAS_DESCRIPTIVE_STATISTICS.getValue(tableMetadata);
       } catch (IOException e) {
-        RelOptPlanner.LOGGER.debug("Unable to obtain table metadata due to 
exception:", e);
+        logger.debug("Unable to obtain table metadata due to exception: {}", 
e.getMessage(), e);
 
 Review comment:
   Yes, using a specific logger is more suitable. Thanks for fixing this!

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to