<br>Great!&nbsp; It works.<br><br>Thanks, N<br><br><div class="gmail_quote">On Thu, Nov 6, 2008 at 10:38 AM, Ceki Gulcu <span dir="ltr">&lt;listid@qos.ch&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Natan,<br>
<br>
If you are using 0.9.11, then<br>
<br>
&lt;substitutionProperty file=&quot;${logback.properties}&quot; /&gt;<br>
<br>
would work. Try, it. Logback should emit a warning message:<br>
&quot;[substitutionProperty] element has been deprecated. Plase use the [property]<br>
element instead.&quot; SO you would finally write<br>
<br>
 &nbsp;&lt;property file=&quot;${logback.properties}&quot; /&gt;<br>
<br>
Anyway, it should work.<br>
<div><div></div><div class="Wj3C7c"><br>
Natan Cox wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; Is there a way to specify the file substitution propery as something<br>
&gt; configurable? So I would not do<br>
&gt;<br>
&gt; &lt;configuration&gt;<br>
&gt;<br>
&gt; &nbsp; &lt;substitutionProperty file=&quot;variables1.properties&quot; /&gt;<br>
&gt;<br>
&gt; but<br>
&gt;<br>
&gt; &lt;configuration&gt;<br>
&gt;<br>
&gt; &nbsp; &lt;substitutionProperty file=&quot;*${logback.properties}*&quot; /&gt;<br>
&gt;<br>
&gt;<br>
&gt; where in Java I would have to specify something like<br>
&gt;<br>
&gt; &nbsp; &nbsp;java Main -Dlogback.properties=c:/project/Main/main.properties<br>
&gt;<br>
&gt; to be able to run my application?<br>
&gt; Typically I want to have one configuration file, but sometimes I use<br>
&gt; multiple files to be able to turn on/off certain functionalities.<br>
&gt;<br>
&gt; I&#39;m also thinking of moving the logback properties into my application<br>
&gt; properties file (not sure yet).<br>
&gt; This configuration option would allow me to achieve this.<br>
&gt;<br>
&gt; Thanks, Natan<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Logback-user mailing list<br>
&gt; Logback-user@qos.ch<br>
&gt; <a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
<font color="#888888"><br>
--<br>
Ceki Gülcü<br>
Logback: The reliable, generic, fast and flexible logging framework for Java.<br>
<a href="http://logback.qos.ch" target="_blank">http://logback.qos.ch</a><br>
_______________________________________________<br>
Logback-user mailing list<br>
Logback-user@qos.ch<br>
<a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
</font></blockquote></div><br>