tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "loua (JIRA)" <>
Subject [jira] [Created] (TOMEE-1863) Log4J initialized twice for web app
Date Mon, 11 Jul 2016 19:10:11 GMT
loua created TOMEE-1863:

             Summary: Log4J initialized twice for web app
                 Key: TOMEE-1863
             Project: TomEE
          Issue Type: Bug
    Affects Versions: 1.7.3
         Environment: Windows Server 2012, Windows 7
            Reporter: loua

The web application uses slf4j for logging.  The logging implementation is log4j.  The application
contains a file in the WEB-INF\classes directory.  The application uses JAX-RS
and Stateless EJBs.  Log4j is initialized by the TempClassLoader and then again when the webapp
is loaded.  This results in two OS file handles referencing the same log file (RollingLogFileAppender)
that prevents the log file from rolling over.  TomEE logging uses the default java.util.logging.

This message was sent by Atlassian JIRA

View raw message