
27 Nov
2008
27 Nov
'08
6:51 p.m.
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