You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by GitBox <gi...@apache.org> on 2022/10/23 13:39:16 UTC
[GitHub] [flume] flashvip opened a new pull request, #388: Set KafkaSink error message log level from DEBUG to WARN
flashvip opened a new pull request, #388:
URL: https://github.com/apache/flume/pull/388
When send data to kafka error, output exception message and set log level from debug to warn,because in production environment log level usually be info or higher level,debug level error message is invisible and we don't know lost data when send data to kafka.
`
if (exception != null) {
logger.warn("Error sending message to Kafka {} ", exception.getMessage());
}
`
--
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: dev-unsubscribe@flume.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flume] tmgstevens merged pull request #388: Set KafkaSink error message log level from DEBUG to WARN
Posted by GitBox <gi...@apache.org>.
tmgstevens merged PR #388:
URL: https://github.com/apache/flume/pull/388
--
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: dev-unsubscribe@flume.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org