<div dir="ltr"><div><div>Hi, <br>I am using logback 1.0.9 (along with slf4j 1.7.2); I have defined the following appender: <br><appender name="EMAIL" class="ch.qos.logback.classic.net.SMTPAppender"><br>
        <!-- deny all events with a level below ERROR --><br>        <filter class="ch.qos.logback.classic.filter.ThresholdFilter"><br>            <level>ERROR</level><br>        </filter><br>
        <smtpHost><a href="http://email-smtp.us-east-1.amazonaws.com">email-smtp.us-east-1.amazonaws.com</a></smtpHost><br>        <username>AKIAJI6XLSOAQX3IW6HQ</username><br>        <password>AuSWMdcNObKqGGT550SR/6vDrgh50vxgFrqZHwR2tTED</password><br>
        <SSL>true</SSL><br>        <to><a href="mailto:hanriseldon@gmail.com">hanriseldon@gmail.com</a></to><br>        <from><a href="mailto:info@applieddatalabs.com">info@applieddatalabs.com</a></from><br>
        <subject>${launchpad.origin}: %logger{20} - %m</subject><br>        <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"><br>            <pattern>prov - |${launchpad.origin}| %date [%thread] %-5level %logger{36} - %message%n</pattern><br>
        </encoder><br>        <cyclicBufferTracker class="ch.qos.logback.core.spi.CyclicBufferTrackerImpl"><br>            <bufferSize>1000</bufferSize><br>        </cyclicBufferTracker><br>
    </appender><br></div>And I am now getting: <br>20:41:10,925 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@32:72 - no applicable action for [encoder], current pattern is [[configuration][appender][encoder]]<br>
20:43:04,138 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@33:13 - no applicable action for [pattern], current pattern is [[configuration][appender][encoder][pattern]]<br><br></div><div>Not sure why that is - I am doing anything wrong on the appender setup?<br>
</div><div>Thanks. <br>Eugen. <br></div><div><div><div><br>-- <br>Eugen Paraschiv<br>Senior Java Programmer, Optaros<br>Mobile: +40728896170<br>Blog: <a href="http://www.baeldung.com" target="_blank">www.baeldung.com</a><br>
Twitter: <a href="https://twitter.com/baeldung" target="_blank">https://twitter.com/baeldung</a><br>
</div></div></div></div>