Thanks.  I will try to look at this tonight (it is about 4pm here now) but if I 
can't I will over the weekend.

Ralph

On Feb 7, 2013, at 3:42 PM, Yogi Nerella wrote:

> Ralph,
> 
> My intention is to use as follows.
> 
> Application ==> slf4j_1.7.2  ==> slf4j_log4j12_1.7.2 ==> log4j-1.2-api (2.0 
> Beta 4) ==> log4j (Beta 4)  ==> FlumeAppender.
> How do I turn on log4j tracing?  
> What is the default configuration, does it look for log4j.xml or log4j2.xml ?
> 
> Please see the attached zip file for my project.   ( I am testing 
> compatibility of log4j2 with my old slf4j and log4j12 ).
> 
> Thanks for your help
> Yogi
> 
> 
> 
> 
> On Thu, Feb 7, 2013 at 2:26 PM, Ralph Goers <ralph.go...@dslextreme.com> 
> wrote:
> I suspect you have a missing dependency such as Avro or Jackson.  However, I 
> would have expected a stack trace with a bit more information.
> 
> Ralph
> 
> On Feb 7, 2013, at 12:17 PM, Yogi Nerella wrote:
> 
> > Hi,
> >
> > I am trying to use FlumeNg Appender and running into the following
> > exception.
> >
> > 2013-02-07 12:13:49,335 ERROR Unable to invoke method createAppender in
> > class org.apache.logging.log4j.flume.appender.FlumeAppender for element
> > Flume java.lang.reflect.InvocationTargetException
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:601)
> > at
> > org.apache.logging.log4j.core.config.BaseConfiguration.createPluginObject(BaseConfiguration.java:723)
> > at
> > org.apache.logging.log4j.core.config.BaseConfiguration.createConfiguration(BaseConfiguration.java:489)
> > at
> > org.apache.logging.log4j.core.config.BaseConfiguration.createConfiguration(BaseConfiguration.java:481)
> > at
> > org.apache.logging.log4j.core.config.BaseConfiguration.doConfigure(BaseConfiguration.java:162)
> > at
> > org.apache.logging.log4j.core.config.BaseConfiguration.start(BaseConfiguration.java:120)
> > at
> > org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:271)
> > at
> > org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:287)
> > at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:139)
> > at
> > org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:76)
> > at
> > org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:31)
> > at org.apache.logging.log4j.LogManager.getContext(LogManager.java:178)
> > at
> > org.apache.log4j.LogManager$PrivateManager.getContext(LogManager.java:197)
> > at org.apache.log4j.LogManager.getLogger(LogManager.java:73)
> > at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64)
> >
> >
> > Regards,
> > Yogi
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org
> 
> 
> <log.zip>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to