Re: Two classes, logging to the same file...

2012-10-22 Thread Tim Watts
Try invoking java with -Dlog4j.debug. That should tell you something. It sounds like it's picking up a different config file from somewhere. On Mon, 2012-10-22 at 22:44 -0400, Peter DePasquale wrote: Yep, both in one jar (mine), with the two log4j2 jars in the /lib/ext area. Will have to

Re: Two classes, logging to the same file...

2012-10-22 Thread Ralph Goers
That setting will have no effect in Log4j 2. Ralph On Oct 22, 2012, at 8:51 PM, Tim Watts wrote: Try invoking java with -Dlog4j.debug. That should tell you something. It sounds like it's picking up a different config file from somewhere. On Mon, 2012-10-22 at 22:44 -0400, Peter

Re: Two classes, logging to the same file...

2012-10-22 Thread Ralph Goers
OK - I haven't tried installing into lib/ext. I will see if I can create a couple of classes to emulate what you are describing until you can get me a zip. I assume one or both of these has a main? Where did you place log4j2.xml? Ralph On Oct 22, 2012, at 7:44 PM, Peter DePasquale wrote: