<configuration>

  <appender name="STDOUT"
    class="ch.qos.logback.core.ConsoleAppender">
    <layout class="chapter5.MySampleLayout2"> 
    	<prefix>MyPrefix</prefix>
    	<printThreadName>false</printThreadName>
    </layout>
  </appender>

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