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

RFE: Cannot remove Loggers from LogManager

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • 7
    • 1.4.1
    • core-libs

      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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: