答复: log4j2 issue

2017-03-20 Thread Yang Rui
Hi,Matt Sicker I used FailOverAppender, but I found that in the moment kafka down, the data was lost. What kind of measures can be taken to avoid this situation The attachment is a configuration file:log4j2.xml Thanks, Rui 发件人: Matt Sicker 发送时间: 2017年3月14日

Re: 答复: log4j2 issue

2017-03-20 Thread Matt Sicker
Which data were lost? Was it pending log messages that hadn't been sent to the KafkaProducer yet, or was it buffered messages inside KafkaProducer? You could help debug this by adding the Kafka property "batch.size" set to "1" or perhaps "linger.ms" to "5" or so millis. On 20 March 2017 at 03:29,

答复: 答复: log4j2 issue

2017-03-20 Thread Yang Rui
at the log is not sent to KafkaProducer, but I am tracking the root cause. Thanks, Rui 发件人: Matt Sicker 发送时间: 2017年3月20日 15:25 收件人: Log4J Users List 主题: Re: 答复: log4j2 issue Which data were lost? Was it pending log messages that hadn't been sent to the Ka

Re: 答复: 答复: log4j2 issue

2017-03-21 Thread Matt Sicker
that the log is not sent to KafkaProducer, but I am tracking the > root cause. > > Thanks, > Rui > > > > ---------- > *发件人:* Matt Sicker > *发送时间:* 2017年3月20日 15:25 > *收件人:* Log4J Users List > *主题:* Re: 答复: log4j2 issue > > Wh