Uploaded image for project: 'Pax Logging'
  1. Pax Logging
  2. PAXLOGGING-138

Pax Logging - bundle.id, name and version is not displayed in logs when the bundle use java.util.logging.Logger,

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.7, 1.7.0
    • Component/s: None
    • Labels:
      None

      Description

      In org.ops4j.pax.logging.service.internal.JdkHandler.publish method, there's a TODO comment like
      // TODO: Can't associate a bundle with the JDK logger. So how??

      the pax-logging org.ops4j.pax.logging.service.internal.JdkHandler can't associate a bundle with the JDK logger, so any bundle which use java.util.logging.Logger, can't get bundle infos in pax-logging, that's why we can't see bundle specific info(bundle name, id, version) from log if the bundle use java.util.logging.Logger, but it's OK when use other Loggers.

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Fang
              Reporter:
              ffang Freeman Fang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: