OpenEJB
  1. OpenEJB
  2. OPENEJB-1408

Allow another logging framework to be used

    Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.4
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      Would be nice not to force a logging framework.
      OpenEJB drags log4j into a project which causes issues.

      If OpenEJB stuck to "Public" Log4J API, it would be possible to switch logging implementations using SLF4J & Wrappers.

      Currently:

      There is a HardCoded dependency on: org.apache.log4j.Layout

      Caused by org.apache.log4j.Layout
      java.net.URLClassLoader.findClass(URLClassLoader.java:497)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:639)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:605)
      at java.lang.J9VMInternals.verifyImpl(Native Method)
      at java.lang.J9VMInternals.verify(J9VMInternals.java:69)
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:131)
      at org.apache.openejb.util.Logger.configure(Logger.java:61)
      at org.apache.openejb.util.Logger.<clinit>(Logger.java:29)

      1. openejb-slf4j.patch
        3 kB
        Michael Glauche

        Activity

          People

          • Assignee:
            Eric Gulatee
            Reporter:
            Eric Gulatee
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development