luchunliang commented on code in PR #10220:
URL: https://github.com/apache/inlong/pull/10220#discussion_r1600864850
##########
inlong-sort-standalone/sort-standalone-source/src/main/java/org/apache/inlong/sort/standalone/sink/cls/ClsSink.java:
##########
@@ -57,13 +47,10 @@ public void start() {
worker.start();
}
} catch (Exception e) {
- LOG.error(e.getMessage(), e);
+ LOG.error("failed to start cls sink", e);
Review Comment:
It's better "LOG.error("failed to start cls sink,error:{}", e.getMessage(),
e);".
Log4j will skip exception message in repeat exception.
--
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]