We provide a log4j 1x compatible API. log4j-over-slf4j. It gets translated into slf4j calls, that get translated into logback calls, which are written out to the logs. slf4j gets really confused if you have both log4j and log4j-over-slf4j. So when upgrading to 0.9.0 from 0.8.X you need to be sure that you have excluded log4j and slf4j-log4j12 from all of your dependencies so they are not packaged with your topology jar.
-Bobby From: Vikas Agarwal <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Thursday, September 4, 2014 at 1:10 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Cc: dev <[email protected]<mailto:[email protected]>> Subject: Re: Is it possible to use Log4j 2 with Storm 0.9.0.1? Just out of curiosity, using log4j 1.x is not an issue with storm, right? On Thu, Sep 4, 2014 at 11:23 PM, Bobby Evans <[email protected]<mailto:[email protected]>> wrote: I don’t believe so. We have switched to use logback for storm behind the scenes and some of the code is actually quite tied to it at the moment. From: Xueming Li <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Thursday, July 24, 2014 at 10:59 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, dev <[email protected]<mailto:[email protected]>> Subject: Is it possible to use Log4j 2 with Storm 0.9.0.1? Is it possible to use Log4j 2 with Storm 0.9.0.1? My purpose is to use asynchronous Loggers for low-latency logging that comes with Log4j 2. Does anybody tried that? Thanks, James -- Regards, Vikas Agarwal 91 – 9928301411 InfoObjects, Inc. Execution Matters http://www.infoobjects.com 2041 Mission College Boulevard, #280 Santa Clara, CA 95054 +1 (408) 988-2000 Work +1 (408) 716-2726 Fax
