Hello Michael,
Adding a status listener is usually a good idea:
<configuration>
<statusListener
class="ch.qos.logback.core.status.OnConsoleStatusListener" />
...
</configuration>
Could you post your config file?
--
Ceki
On 25/01/2011 7:41 PM, Michael C Rosenstein wrote:
Hello, I've been experimenting with logback core/classic 0.9.27 (and
slf4j 1.6.1) with Tomcat 6.0.29, Java 1.6 on Solaris for the past couple
days, and have hit a wall viz conditional configuration processing.
When I include a conditional like the following in my configuration
file, nothing in the file is processed beginning with and after that
directive:
<if condition='property("HOSTNAME").contains("hactar")'>
<then>
<property name="foo" value="bar"/>
</then>
</if>
Even a conditional as simple as the following causes processing to abort:
<if condition='"foo".equals("foo")'>
<then>
<property name="foo" value="bar"/>
</then>
</if>
No errors seen in the ViewStatusMessagesServlet.
Am I doing something wrong?
Thanks.
/mcr
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user