Quick and precise!
Thanks a lot,
Best regards,
Agharta
On 03/15/2017 05:29 PM, Ralph Goers wrote:
It should work that way, but if your applications have any custom plugins they
wouldn’t be accessible unless they are also on tomcat-lib. If you are using any
Log4j 2 components with dependen
It should work that way, but if your applications have any custom plugins they
wouldn’t be accessible unless they are also on tomcat-lib. If you are using any
Log4j 2 components with dependencies then those dependencies (and their
transitive dependencies) would have to be in tomcat/lib as well.
Just use Configurator.initialize(new DefaultConfiguration());
Ralph
> On Mar 15, 2017, at 9:09 AM, kriegerd wrote:
>
> I'm seeing that LoggerContext.setConfiguration is private and is being used
> by start(Configuration) or onChange(Reconfigurable).
>
> Would using start work? I check the star
Hi all,
I have a Tomcat 8 with 6-7 web applications, each one with its log4j
libs (log4j-core, log4j-api, log4j-web, log4j-1.2-api).
Every app contains its log4j2.xml with its appenders (based on web
lookup ${web:contextPath}).
So, the question: could i put log4j libs (log4j-core, log4j-ap
I'm seeing that LoggerContext.setConfiguration is private and is being used
by start(Configuration) or onChange(Reconfigurable).
Would using start work? I check the start method, and it seems it's ok to
use, but just wondering if anyone had any info about it.
Thanks again.
Alejandro.
On Wed, Ma
Thanks a lot for the help.
I'll try it today.
Alejandro.
On Tue, Mar 14, 2017 at 10:34 PM Ralph Goers
wrote:
> Actually, the equivalent would be set the configuration back to the
> DefaultConfiguratoin, not a null configuration.
>
> Ralph
>
> > On Mar 14, 2017, at 9:09 PM, Matt Sicker wrote:
>
Looking at the source code for resetConfiguration, it says it clears out
all appenders and levels and whatnot. I suppose depending on the goals,
yes, DefaultConfiguration makes more sense usually unless you're trying to
disable logging while you manually configure things in some strange way.
On 15
See http://lilithapp.com/releases/8.1.0.xhtml for detailed list of changes.
Cheers,
Huxi.
-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org