Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1336

LoggerFactory in 1.2 API module is not compatible with 1.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.6
    • Log4j 1.2 bridge
    • Patch, Important

    Description

      LoggerFactory from log4j 1.2 compatibility layer is not compatible with the original 1.2 version. Therefore software which creates its customized loggers is failing due to AbstractMethodError error.

      The fix is quite simple - just keep the original interface. The attached patch continues to support the current method too, but uses different interface name for the functionality so it doesn't clash with 1.2 API.

      Attachments

        1. log4j-1.2-compatible-factory.diff
          4 kB
          Zbynek Vyskovsky
        2. Re_use_LoggerAdapter.patch
          5 kB
          Matt Sicker

        Activity

          People

            Unassigned Unassigned
            kvr Zbynek Vyskovsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified