[jboss-jira] [JBoss JIRA] Created: (JBLOGGING-47) Support EAP 5.1 in JBoss Logging 3

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Sep 27 12:18:28 EDT 2010


Support EAP 5.1 in JBoss Logging 3
----------------------------------

                 Key: JBLOGGING-47
                 URL: https://jira.jboss.org/browse/JBLOGGING-47
             Project: JBoss Logging
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
    Affects Versions: 3.0.0.Beta4-jboss-logging
            Reporter: Pete Muir
            Assignee: David Lloyd


If you try to use JBoss Logging 3 in EAP 5.1 you get

Caused by: java.lang.NoSuchMethodError: org.jboss.logmanager.LogContext.getAttachment(Ljava/lang/String;Lorg/jboss/logmanager/Logger$AttachmentKey;)Ljava/lang/Object;
	at org.jboss.logging.JBossLogManagerProvider.doGetLogger(JBossLogManagerProvider.java:52)
	at org.jboss.logging.JBossLogManagerProvider.getLogger(JBossLogManagerProvider.java:47)
	at org.jboss.logging.Logger.getLogger(Logger.java:2164)
	at org.jboss.logging.Logger.getLogger(Logger.java:2189)

As the LogManager is too old. We should add a provider for older versions of LogManager

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list