flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bean Edwards <edwardsb...@gmail.com>
Subject Re: Flume Log4j exception lead to application abort
Date Fri, 10 Jan 2014 14:46:29 GMT
thx,it's really helps.how you guys use flume log4j appender in production
environment?  Here is my configuration:I use log4j asynAppender to load
flume log4j appender, set blocking false with asynAppender in log4j.xml


On Wed, Jan 8, 2014 at 7:17 PM, Ashish <paliwalashish@gmail.com> wrote:

> Add the following property to your log4j properties file
>
> log4j.appender.flume.UnsafeMode = true
>
>
>
> On Wed, Jan 8, 2014 at 2:40 PM, Bean Edwards <edwardsbean@gmail.com>wrote:
>
>> My java application use log4j(flume appender with AsyncAppender) to log
>> to remote log server. If log server is down, log4j will try to reconnect a
>> few times,but then my java application was shutdown.Is there any possible
>> my java application goes normal with the exception of log4j?
>>
>
>
>
> --
> thanks
> ashish
>
> Blog: http://www.ashishpaliwal.com/blog
> My Photo Galleries: http://www.pbase.com/ashishpaliwal
>

Mime
View raw message