RE: Flume Appender

2012-12-26 Thread Pradeep Kanchgar
Hi Ralph, I'm using this log4j2 for the first time. What is this maven? With log4j2 if I use other appenders like console or rollingfileappender it works fine. But in case of this flumeappender, I don't have much clarity. You mean to say in order to use flume appender I need all these jar lik

Re: Flume Appender

2012-12-26 Thread Ralph Goers
Running mvn dependency:tree in samples/flume-remote yields [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ flume-remote --- [INFO] org.apache.logging.log4j.samples:flume-remote:war:2.0-beta4-SNAPSHOT [INFO] +- org.apache.logging.log4j.samples:flume-common:jar:2.0-beta4-SNAPSHOT:compil

Flume Appender

2012-12-26 Thread Pradeep Kanchgar
Hi , I'm using flume Appender but getting the following error. 2012-12-26 19:08:41,566 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.NativeMethodAccessorIm

Re: Map Lookup Question

2012-12-26 Thread Ralph Goers
I don't believe there is a problem with ThreadContext. I created a unit test that verifies it and then tried to run yours. However, I had to modify yours as it contains an error. The version of BoringLoggingClass's run method below is synchronizing on "this" which won't accomplish anything (e

Re: Map Lookup Question

2012-12-26 Thread Ralph Goers
Thanks for letting me know about that. i will check into that today. Ralph On Dec 26, 2012, at 7:52 AM, Michael Minella wrote: > Progress continues... > > Using beta-4-SNAPSHOT now generates a file per thread (as expected) which is > great. However, I do have one other issue with the new ve

Re: Map Lookup Question

2012-12-26 Thread Michael Minella
Progress continues... Using beta-4-SNAPSHOT now generates a file per thread (as expected) which is great. However, I do have one other issue with the new version. The inheritance of ThreadContext values does not seem to be working. If I set a value in a parent thread and do not override it i