[logback-user] variable substitution in logback 0.9.9

Ceki Gulcu listid at qos.ch
Thu Nov 27 19:51:12 CET 2008


Hello Egon,

No, variable substituion does not work for levels which is a bug. Please create 
a jira issue so the problem can be addressed.

Egon Exparotiminator wrote:
> Hi,
> 
> Does variable substitution works in a whole logback.xml? I'm using 
> version 0.9.9. <http://0.9.9.>
> 
> It works here:
> <configuration>
>   <include file="${filec}"/>
> </configuration>
> 
> and it works here:
> <include file="${user.pal}" />
> 
> but not here:
>   <root>
>     <level value="${logger.level}" />
>     <appender-ref ref="redirectConsole" />
>   </root>
> 
> Should it work also in <level section? I'm asking because I'd like to 
> configure different levels on different machines
> 
> Thanks

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch


More information about the Logback-user mailing list