Re: [log4j2] configuration file names

2012-04-29 Thread Tushar Kapila
log4j +1 classes can have a get version and get friendly name static methods. On 2012-04-29, Gary Gregory wrote: > On Saturday, April 28, 2012, Ralph Goers wrote: > >> See below - >> >> On Apr 28, 2012, at 5:30 AM, Christian Grobmeier wrote: >> >> > Hi, >> > >> > just fixed the docs, which said,

Re: [log4j2] configuration file names

2012-04-29 Thread Gary Gregory
On Saturday, April 28, 2012, Ralph Goers wrote: > See below - > > On Apr 28, 2012, at 5:30 AM, Christian Grobmeier wrote: > > > Hi, > > > > just fixed the docs, which said, log4j2 is looking for log4j.xml / > > log4j-test.xml. > > It is actually looking for log4j2.xml and log4j2-test.xml > > Yes,

Re: [log4j2] configuration file names

2012-04-28 Thread Ralph Goers
See below - On Apr 28, 2012, at 5:30 AM, Christian Grobmeier wrote: > Hi, > > just fixed the docs, which said, log4j2 is looking for log4j.xml / > log4j-test.xml. > It is actually looking for log4j2.xml and log4j2-test.xml Yes, that is correct. Thanks for fixing it. > > I couldn't find the co

[log4j2] configuration file names

2012-04-28 Thread Christian Grobmeier
Hi, just fixed the docs, which said, log4j2 is looking for log4j.xml / log4j-test.xml. It is actually looking for log4j2.xml and log4j2-test.xml I couldn't find the code if log4j.json is looked up or log4j2.json. Unfortunately the system param to give an alternate file as config file is: -Dlog4j