kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David DeMaagd <ddema...@linkedin.com>
Subject Re: Log4J setting for kafka
Date Mon, 01 Jul 2013 18:44:20 GMT
The danger of using a size based rollover (unless you set the size and
log rollover to be fairly high) is that in case of problems, the actual
cause of the problem might get rolled off the end by the time you get to
it (kafka can be very chatty in some kinds of failure cases).  That is
probably the biggest reason for a date-rolling log...

On the other hand, the date-rolling can leave a lot of cruft around if
you do not have a cleaner process running on a periodic basis...

-- 
Dave DeMaagd
ddemaagd@linkedin.com | 818 262 7958

(vkeylis2009@gmail.com - Mon, Jul 01, 2013 at 11:26:24AM -0700)
> Good morning. The log4j property file included wit distribution contains
> daily log rotation. Are there any reason you guys chose daily rotation vs
> RollingFileAppender?
> 
> Thanks,
> Vadim

Mime
View raw message