Hi All,<br><br>Is there some way to make a reference to an encoder or pattern defined previously via a reference or similar?<br>I've tried with the bellow configuration but it does not work :-(<br><br><span style="font-family: courier new,monospace;"><configuration></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Â Â Â <encoder <span style="color: rgb(255, 0, 0);">name="ENC-1"</span> class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"><br>Â Â Â Â Â Â <Pattern>%date %.-1level [%mdc{SessionID}] [%t] %logger{32} - %m%n%ex{0}</Pattern><br>
   </encoder><br>   <br>   <encoder <span style="color: rgb(255, 0, 0);">name="ENC-2"</span> class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"><br>      <Pattern>%date %.-1level [%mdc{SessionID}] [%t] %logger{32} - %m%n</Pattern><br>
   </encoder><br><br>   <appender name="STDOUT-1" class="ch.qos.logback.core.ConsoleAppender"><br>      <span style="color: rgb(255, 0, 0);"><encoder-ref ref="ENC-1"/></span><br>
   </appender><br>   <br>   <appender name="STDOUT-2" class="ch.qos.logback.core.ConsoleAppender"><br>      <span style="color: rgb(255, 0, 0);"><encoder-ref ref="ENC-2"/></span><br>
   </appender><br><br></span><span style="font-family: courier new,monospace;">   <logger name="X.Y"></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">      <level value="INFO" /></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Â Â Â Â Â Â <appender-ref ref="STDOUT-2" /></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Â Â Â </logger></span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Â Â Â <root level="DEBUG"></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Â Â Â Â Â Â <appender-ref ref="STDOUT-1" /></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Â Â Â </root></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"></configuration></span><br style="font-family: courier new,monospace;">
<br><br>BR,<br>/César.<br>