[logback-user] variable substitution in logback 0.9.9
Ceki Gulcu
ceki at qos.ch
Fri Nov 28 23:30:47 CET 2008
Hello Egon,
Just added code to support for level value variable substitution. It will ship
with logback version 0.9.12.
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