Hello, I'm having problems trying to use the gmail example provided here: <a href="http://logback.qos.ch/manual/appenders.html">http://logback.qos.ch/manual/appenders.html</a><br><br>My config is:<br><br>...<br> <appender name="email" class="ch.qos.logback.classic.net.SMTPAppender"><br>
<SMTPHost><a href="http://smtp.gmail.com">smtp.gmail.com</a></SMTPHost><br> <SMTPPort>465</SMTPPort><br> <SSL>true</SSL><br> <Username><a href="mailto:yyy@gmail.com">yyy@gmail.com</a></Username><br>
<Password>xxx</Password><br> <To><a href="mailto:zzz@gmail.com">zzz@gmail.com</a></To><br> <From><a href="mailto:aaa@no-reply.com">aaa@no-reply.com</a></From><br> <Subject>APP ERROR: %class{20} - %m</Subject><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>
<layout class="ch.qos.logback.classic.PatternLayout"><br> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1} - %msg%n</pattern><br> </layout><br> </appender><br>
...<br><br>... and I'm getting this in the log:<br><br>19:41:03,031 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@38:16 - no applicable action for [SMTPPort], current pattern is [[configuration][appender][SMTPPort]]<br>
19:45:30,244 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@39:11 - no applicable action for [SSL], current pattern is [[configuration][appender][SSL]]<br>19:45:40,367 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@40:16 - no applicable action for [Username], current pattern is [[configuration][appender][Username]]<br>
19:45:40,740 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@41:16 - no applicable action for [Password], current pattern is [[configuration][appender][Password]]<br><br><br>Any suggestion on what could be wrong?<br>
Thanks,<br>Federico<br>