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 <vi...@infoobjects.com<mailto:vi...@infoobjects.com>> Reply-To: "user@storm.incubator.apache.org<mailto:user@storm.incubator.apache.org>" <user@storm.incubator.apache.org<mailto:user@storm.incubator.apache.org>> Date: Thursday, September 4, 2014 at 1:10 PM To: "user@storm.incubator.apache.org<mailto:user@storm.incubator.apache.org>" <user@storm.incubator.apache.org<mailto:user@storm.incubator.apache.org>> Cc: dev <d...@storm.incubator.apache.org<mailto:d...@storm.incubator.apache.org>> 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 <ev...@yahoo-inc.com<mailto:ev...@yahoo-inc.com>> 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 <james.xueming...@gmail.com<mailto:james.xueming...@gmail.com>> Reply-To: "user@storm.incubator.apache.org<mailto:user@storm.incubator.apache.org>" <user@storm.incubator.apache.org<mailto:user@storm.incubator.apache.org>> Date: Thursday, July 24, 2014 at 10:59 PM To: "user@storm.incubator.apache.org<mailto:user@storm.incubator.apache.org>" <user@storm.incubator.apache.org<mailto:user@storm.incubator.apache.org>>, dev <d...@storm.incubator.apache.org<mailto:d...@storm.incubator.apache.org>> 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