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 "Gary Gregory (JIRA)" <ji...@apache.org> on 2013/08/07 16:56:48 UTC
[jira] [Resolved] (LOG4J2-320) JPAAppender stops logging because
META-INF/log4j-provider.properties is left open
[ https://issues.apache.org/jira/browse/LOG4J2-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory resolved LOG4J2-320.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.0-beta9
{noformat}
commit -m "[LOG4J2-320] JPAAppender stops logging because META-INF/log4j-provider.properties is left open. Refactor loading and closing a properties stream into a new method PropertiesUtil#loadClose()." C:/vcs/svn/apache/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/util/ProviderUtil.java C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml C:/vcs/svn/apache/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
Sending C:/vcs/svn/apache/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
Sending C:/vcs/svn/apache/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/util/ProviderUtil.java
Sending C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml
Transmitting file data ...
Committed revision 1511342.
{noformat}
> JPAAppender stops logging because META-INF/log4j-provider.properties is left open
> ---------------------------------------------------------------------------------
>
> Key: LOG4J2-320
> URL: https://issues.apache.org/jira/browse/LOG4J2-320
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.0-beta8
> Environment: EclipseLink, version: Eclipse Persistence Services - 2.3.0.v20110604-r9504
> Glassfish 3.1.1
> Mysql 5
> Reporter: jd
> Priority: Trivial
> Fix For: 2.0-beta9
>
> Attachments: JpaLog.java, Log4jSetup.java, patch.diff, ProviderUtil.java
>
>
> After the EAR is redeployed the JPAAppender stops logging.
> The exception is: SEVERE: java.lang.IllegalArgumentException: Object: com.log4j.JpaLog@1b7d808 is not a known entity type.
> The log4j setup is done in a singleton bean with the Startup annotation
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org