byjiang1996 commented on a change in pull request #1403:
URL: https://github.com/apache/samza/pull/1403#discussion_r462504237
##########
File path:
samza-log4j2/src/main/java/org/apache/samza/logging/log4j2/StreamAppender.java
##########
@@ -368,24 +389,24 @@ private void startTransferThread() {
// Preserve the interrupted status for the loop condition.
Thread.currentThread().interrupt();
} catch (Throwable t) {
- log.error("Error sending StreamAppender event to SystemProducer",
t);
+ log.error("Error sending " + appenderName +" event to
SystemProducer", t);
Review comment:
added
##########
File path:
samza-log4j2/src/main/java/org/apache/samza/logging/log4j2/StreamAppender.java
##########
@@ -368,24 +389,24 @@ private void startTransferThread() {
// Preserve the interrupted status for the loop condition.
Thread.currentThread().interrupt();
} catch (Throwable t) {
- log.error("Error sending StreamAppender event to SystemProducer",
t);
+ log.error("Error sending " + appenderName +" event to
SystemProducer", t);
Review comment:
make sense to me. Added now.
----------------------------------------------------------------
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:
[email protected]