logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13099] New: - DOMConfigurator ignores category factory setting
Date Fri, 27 Sep 2002 20:50:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13099>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13099

DOMConfigurator ignores category factory setting

           Summary: DOMConfigurator ignores category factory setting
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Configurator
        AssignedTo: log4j-dev@jakarta.apache.org
        ReportedBy: douglasscottjackson@yahoo.com


When using the default heirarchy i.e. DOMConfigurator.configure(Element)
the <categoryFactory> tag has no effect.  The parseCategory method calls
getLogger(String) which will use the default LoggerFactory and not the
category factory specified in the <categoryFactory> tag.
The <categoryFactory> tag appears to have no effect whatsoever.

It would be nice if the defaultFactory in the Heirarchy class could be
modified via a setter or make it protected so an extending class can set
it.

--
To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>


Mime
View raw message