logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giovanni Mondo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4J2-484) log4j2 and ServletContextListeners
Date Fri, 03 Jan 2014 18:39:50 GMT
Giovanni Mondo created LOG4J2-484:
-------------------------------------

             Summary: log4j2 and ServletContextListeners
                 Key: LOG4J2-484
                 URL: https://issues.apache.org/jira/browse/LOG4J2-484
             Project: Log4j 2
          Issue Type: Question
          Components: Configurators
    Affects Versions: 2.0-beta9
         Environment: java 1.7.0_11-b21, tomcat-7.0.14
            Reporter: Giovanni Mondo
            Priority: Trivial
             Fix For: 2.0-rc1


Logging configuration is done by two config file:

WEB-INF/classes/log4j2.xml  logging in /tmp/default_MavenWeb.xml

and
 
/tmp/log4j2.xml as log4jConfiguration of a Log4jServletContextListener logging in /tmp/MavenWeb.xml
 
Is it possible to log HelloWorldServletContextListener in /tmp/MavenWeb.xml as HelloWorldServlet
does ? 

A minimal maven project with full details can be foud here: https://dl.dropboxusercontent.com/u/54951524/MavenWeb.zip




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message