logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikael Ståldal <mikael.stal...@appearnetworks.com>
Subject Re: Log4j 2.x Web app initialization logging
Date Thu, 04 Sep 2014 16:14:25 GMT
I see this line in the source code for version 2.0.2 (line 36):

        this.servletContext.log("Log4jServletContextListener ensuring that
Log4j starts up properly.");



On Thu, Sep 4, 2014 at 6:06 PM, Gary Gregory <garydgregory@gmail.com> wrote:

> FWIW, I do not see any logging in Log4jServletContextListener ;-)
>
> G
>
>
> On Thu, Sep 4, 2014 at 12:03 PM, Mikael Ståldal <
> mikael.staldal@appearnetworks.com> wrote:
>
> > Log4jServletContainerInitializer, Log4jServletContextListener,
> > Log4jServletFilter and Log4jWebInitializerImpl log some stuff using
> > ServletContext.log() at startup and shutdown.
> >
> > Why? I find this logging noisy when done when everything works fine.
> >
> > --
> > Mikael Ståldal
> > Chief Software Architect
> > *Appear*
> > Phone: +46 8 545 91 572
> > Email: mikael.staldal@appearnetworks.com
> >
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>



-- 
Mikael Ståldal
Chief Software Architect
*Appear*
Phone: +46 8 545 91 572
Email: mikael.staldal@appearnetworks.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message