You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Shailesh Hemdev (JIRA)" <ji...@apache.org> on 2015/12/29 20:14:49 UTC

[jira] [Updated] (LOG4J2-1234) Log4J2 does not log for events emanating from classes in JARs in WEB-INF/lib

     [ https://issues.apache.org/jira/browse/LOG4J2-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shailesh Hemdev updated LOG4J2-1234:
------------------------------------
    Attachment: log4j2-fss.xml
                log4j2_jboss_startuplogs.txt

> 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
>         Attachments: log4j2-fss.xml, log4j2_jboss_startuplogs.txt
>
>
> 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org