Shailesh Hemdev created LOG4J2-1234:
---------------------------------------

             Summary: Log4J2 does not log for events emanating from classes in 
JARs in WEB-INF/lib 
                 Key: LOG4J2-1234
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1234
             Project: Log4j 2
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 2.5
            Reporter: Shailesh Hemdev


I am using Log4J2 and I have specified the system property 
log4j.configurationFile. My configuration file is being picked up but it is not 
logging for classes within the JARS in my WAR file
This is in JBOSS-EAP 6.2

Attached the startup logs that show that my configuration file is picked up and 
the empty files for AuditLog and MetricsLog appenders are created but they are 
never populated. Even if I redirect to the file appender no events emanating 
from my included JAR files (which have the event log and 
MetricsPersistenceServiceImpl) and those from Spring or Hibernate are logged 
into those appenders
Any info logs from classes directly within the WAR file are logged into file 
appender



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to