Re: Custom ConfigurationFactory not loaded

2014-08-01 Thread Clément Guillaume
PluginManager.addPackage(“com.myorg.mypackage”) works with trunk ! But for me it is almost the same as setting the system property. I would love that it automatically find my ConfigurationFactory. Is it a bug? Clément On Fri, Aug 1, 2014 at 11:02 AM, Remko Popma wrote: > The packages attribute

Re: problems with web app and JndiContextSelector

2014-08-01 Thread Mike Calmus
We're using a Servlet 2.5 container and configuration. I added the Log4jContextSelector environment variable to the container startup as well as loading all the Log4j 2.0 jars with the container. I added the following items to my web.xml: isLog4jContextSelectorNamed true log4j

Re: Custom ConfigurationFactory not loaded

2014-08-01 Thread Remko Popma
The packages attribute in configuration (and the corresponding PluginManager.addPackage method) does not work in 2.0. This has been fixed in trunk and the fix will be in the upcoming 2.0.1 release. Can you try with trunk? On Sat, Aug 2, 2014 at 2:05 AM, Clément Guillaume wrote: > The fact is t

Re: Custom ConfigurationFactory not loaded

2014-08-01 Thread Clément Guillaume
The fact is that the method getSupportedTypes() is never called ! (It's return a custom extension: ".myorg") I'm using 2.0. And even a call to PluginManager.addPackage(“com.myorg.mypackage”) doesn't works. Clément On Thu, Jul 31, 2014 at 10:31 PM, Ralph Goers wrote: > It also occurs to me that

Re: log4j 2.0 - About StatusLogger logging level and console output

2014-08-01 Thread Remko Popma
Ok. Take a look at the system properties section of the Configuration manual page. There seem to be two settings. I'm not sure which to use: Log4jDefaultStatusLevel or log4j2.StatusLogger.level. Sent from my iPhone > On 2014/08/01, at 16:15, Marco Cosentino wrote: > > Hi Remko, > thanks for

Re: log4j 2.0 - About StatusLogger logging level and console output

2014-08-01 Thread Marco Cosentino
Hi Remko, thanks for the reply. I'd still like something which can be enabled through system preoperties and logs at very early stages, for example, where the config is read from. Marco. On 08/01/2014 12:04 AM, Remko Popma wrote: All you need to do is set status="trace" in your log4j2.xml con