cxxiii commented on code in PR #3696:
URL: https://github.com/apache/amoro/pull/3696#discussion_r2241805198
##########
amoro-ams/src/main/java/org/apache/amoro/server/optimizing/OptimizingQueue.java:
##########
@@ -269,13 +269,12 @@ private void triggerAsyncPlanning(
.map(item -> item + "")
.collect(Collectors.joining(","));
LOG.info(
- "Completed planning on table {} with {} tasks with a
total cost of {} ms, skipping {} tables,"
- + " id list:{}",
+ "Completed planning on table {} with {} tasks with a
total cost of {} ms, skipping {} tables",
Review Comment:
Thanks for your suggestions. Maybe the following is more appropriate?
`if (LOG.isDebugEnabled()) {
LOG.info() // with all log
} else {
LOG.info() // only the needed log
}`
--
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]