Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4811930

RFE: Cannot remove Loggers from LogManager

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.4.1
    • Fix Version/s: 7
    • Component/s: core-libs
    • Labels:

      Description

      Name: rmT116609 Date: 02/03/2003


      DESCRIPTION OF THE PROBLEM :
      We need a way to remove Logger objects from the LogManager when they are no longer needed. There is no way to remove a Logger from LogManager and in reviewing the source code LogManager does not use weak references - it uses a simple Hashtable. Furthermore, the comment on LogManager.addLogger is misleading as it states that the implementation "may" use weak references.

      We create numerous Logger objects on our server and we need a way to clean them out when a session used by that logger is terminated. Using separate Logger objects gives us the ability to have different logging levels for different
      sessions. For example, if a user is having a problem I want to be ablt turn debugging on for their sesson and not all sessions on the server.


      (Review ID: 180707)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dcubed Daniel Daugherty
                Reporter:
                rmandalasunw Ranjith Mandala (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: