Uploaded image for project: 'JBoss Logging'
  1. JBoss Logging
  2. JBLOGGING-47

Support EAP 5.1 in JBoss Logging 3

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.CR1
    • 3.0.0.Beta4-jboss-logging
    • None
    • None

      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

            dlloyd@redhat.com David Lloyd
            pmuiratbleepbleep Pete Muir (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: