Steven,

Property substitution in DOMConfigurator is supported. This support should be enhanced 
to include taking properties from a Properties object or a file instead of just 
System.properties as done currently. Ceki


At 14:28 05.04.2001 -0400, you wrote:

>Is there a reason why this is not supported as it is in the PropertyConfigurator?  I 
>browsed through the source and determined that it would be pretty easy to add, but I 
>was wondering if it was purposefully left out.
>
>If my terminology is incorrect or if I am being unclear, I want to do this: 
>
><appender name="A1" class="org.apache.log4j.FileAppender"> 
>    <!-- notice this line --> 
>    <param name="File"   value="${user.home}\\A1.log" /> 
>    <param name="Append" value="false" />               
>    <layout class="org.apache.log4j.PatternLayout"> 
>        <param name="ConversionPattern" value="%t %-5p %c{2} - %m\n"/> 
>    </layout>       
></appender> 
>
>If I were to patch the existing code to support this, would I be wreaking havoc 
>somewhere or parting from someone else's philosophy?
>
>Thanks for any help. 
>
>Steven Velez 
>Software Engineer 
>alventive 
>678-202-2226 

--
Ceki G�lc�


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to