You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2005/12/01 17:53:48 UTC

DO NOT REPLY [Bug 37740] New: - HierarchyEventListener is both incompatible with 1.2 version and unused

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37740>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37740

           Summary: HierarchyEventListener is both incompatible with 1.2
                    version and unused
           Product: Log4j
           Version: 1.3alpha
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: jessh@ptc.com


HierarchyEventListener's methods now use Logger rather than Category making it
incompatible with 1.2 implementations of this method.  That might be okay if
there are few enough folk that actually used this class.

Worse, however, this class is now unused.  The method
Hierarchy.addHierarchyEventListener() has been removed and there is now no way
to add or use a HierarchyEventListener in 1.3 and no purpose in it existing.

Please either:
  1) Revert HierarchyEventListener to its 1.2 form and restore
Hierarchy.addHierarchyEventListener() [which could be implemented via
addLoggerEventListener() and a simple wrapper] *or*
  2) if there is truly little enough usage of this interface remove it entirely

In case (1), HierarchyEventListener and usages thereof should either be
deprecated or a corresponding removeLoggerEventListener() should be added.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org