Hi,<br><br>What is the equivalent programmatical java code for below logback.xml configuration :<br><br><blockquote>
<span style="font-family:"Courier New",Courier,monospace"><configuration></span><br>
<br>
<span style="font-family:"Courier New",Courier,monospace"> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"></span><br>
<span style="font-family:"Courier New",Courier,monospace"> <!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder </span><br>
<span style="font-family:"Courier New",Courier,monospace"> by default --></span><br>
<span style="font-family:"Courier New",Courier,monospace"> <encoder></span><br>
<span style="font-family:"Courier New",Courier,monospace"> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger - %msg%n</pattern></span><br>
<span style="font-family:"Courier New",Courier,monospace"> </encoder></span><br>
<span style="font-family:"Courier New",Courier,monospace"> </appender></span><br>
<br>
<span style="font-family:"Courier New",Courier,monospace"> <appender name="SYSLOG" class="ch.qos.logback.classic.net.SyslogAppender"></span><br>
<b><span style="font-family:"Courier New",Courier,monospace"> <syslogHost>myhost</syslogHost></span></b><br>
<b><span style="font-family:"Courier New",Courier,monospace"> <facility>USER</facility></span></b><br>
<span style="font-family:"Courier New",Courier,monospace"><b> <suffixPattern>[%thread] %logger </b>%msg</suffixPattern></span><br>
<span style="font-family:"Courier New",Courier,monospace"> </appender></span><br>
<br>
<span style="font-family:"Courier New",Courier,monospace"> <root level="debug"></span><br>
<span style="font-family:"Courier New",Courier,monospace"> <appender-ref ref="SYSLOG"/></span><br>
<span style="font-family:"Courier New",Courier,monospace"> <appender-ref ref="STDOUT"/></span><br>
<span style="font-family:"Courier New",Courier,monospace"> </root></span><br>
<span style="font-family:"Courier New",Courier,monospace"></configuration></span> </blockquote>Thanks.