Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1749

Incorrect Logger name creation in ComponentContextImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3, 3.3.1
    • 3.3.1
    • servicemix-core
    • None
    • Patch Available

    Description

      This error was found when creating a java.util.logging.Logger from the JBI ComponentContext. The resulting logger does not have the expected name. For example:

      Component Name: "myComponent"
      Logger Suffix: "Bootstrap"

      Expected Logger Name: "myComponentBootstrap"
      Actual Logger Name: "BootstrapmyComponent

      See attached patch.

      Attachments

        1. SM-1749.patch
          0.8 kB
          Jeff Peterson

        Activity

          People

            jb@nanthrax.net Jean-Baptiste Onofré
            jpeterson Jeff Peterson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: