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

Log4j2 & OSGi How-To

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0-beta9, 2.0-rc1
    • 2.3
    • None
    • OSGi R5 (e.g. Apache Felix)

    Description

      The Log4j2-manual should provide a Quick-Start for OSGi-developers.

      Very important: It is not enough that the core library is located in the same folder as the api. If log4j2 is used in an OSGi-environment, you have to specify the dependencies on the core and on the api in your POM, otherwise the libraries are not added to the bundle-ClassLoader. This leads to the error: 'StatusLogger Unable to locate a logging implementation, using SimpleLogger.'

      Attachments

        Activity

          People

            Unassigned Unassigned
            rol Roland Weiglhofer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: