<br>Great! 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"><listid@qos.ch></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>
<substitutionProperty file="${logback.properties}" /><br>
<br>
would work. Try, it. Logback should emit a warning message:<br>
"[substitutionProperty] element has been deprecated. Plase use the [property]<br>
element instead." SO you would finally write<br>
<br>
<property file="${logback.properties}" /><br>
<br>
Anyway, it should work.<br>
<div><div></div><div class="Wj3C7c"><br>
Natan Cox wrote:<br>
> Hi all,<br>
><br>
> Is there a way to specify the file substitution propery as something<br>
> configurable? So I would not do<br>
><br>
> <configuration><br>
><br>
> <substitutionProperty file="variables1.properties" /><br>
><br>
> but<br>
><br>
> <configuration><br>
><br>
> <substitutionProperty file="*${logback.properties}*" /><br>
><br>
><br>
> where in Java I would have to specify something like<br>
><br>
> java Main -Dlogback.properties=c:/project/Main/main.properties<br>
><br>
> to be able to run my application?<br>
> Typically I want to have one configuration file, but sometimes I use<br>
> multiple files to be able to turn on/off certain functionalities.<br>
><br>
> I'm also thinking of moving the logback properties into my application<br>
> properties file (not sure yet).<br>
> This configuration option would allow me to achieve this.<br>
><br>
> Thanks, Natan<br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
><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 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>