logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: Modularizing XML configuration files (Re: Error using NullAppender in <root>)
Date Fri, 22 Jul 2005 20:17:34 GMT

On Jul 22, 2005, at 9:43 AM, Schuweiler, Joel J. wrote:

> So here is a silly question, how would I go about nesting them?
> For ex.
> Log4j.xml includes an appender.xml and a logger.xml
> And appender.xml includes a bunch of other xml files for custom  
> appenders for different groups of people.
> As far as I can tell I would need to use a doctype in appender.xml  
> but this as far as I can tell is not legal?

The entity definitions (the map between entity name and a path) would  
have to be in the Document (that is the top-level thing), however you  
could reference the entity from anywhere.  Obviously it has its  
limitations and I'm not saying it is the ultimate solution, however  
it is there and working. 

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

View raw message