Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6307

Ensure loggers get created on the correct LogContext

XMLWordPrintable

      Using the ContextClassLoaderLogContextSelector causes static loggers loaded from libraries that set the TCCL to a deployments class loader get configured with the incorrect log context.

      <dmlloyd> each Class object is examined for its class loader
      <dmlloyd> we keep a set of our logging API class loaders
      <dmlloyd> we iterate until we find a Class which isn't in one of our known modules
      <dmlloyd> then we use that Class's class loader to select the log context

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: