<configuration>

	<evaluator name="DISPLAY_EX_EVAL">
		<Expression>throwable != null &amp;&amp; throwable instanceof chapter5.TestException</Expression>
	</evaluator>
	
  <appender name="STDOUT"
    class="ch.qos.logback.core.ConsoleAppender">
    <layout class="ch.qos.logback.classic.PatternLayout">
      <param name="Pattern"
        value="%-4relative [%thread] %-5level - %msg %ex{full, DISPLAY_EX_EVAL}%n" />
    </layout>
  </appender>

  <root>
    <level value="debug" />
    <appender-ref ref="STDOUT" />
  </root>
</configuration>