The config file snippet looks good. I really don't see how the error you are seeing could occur. Which version of logback are you using?
You could you also provide the whole config file? On 10/03/2010 12:56 AM, Federico Schroder wrote:
Hello, I'm having problems trying to use the gmail example provided here: http://logback.qos.ch/manual/appenders.html My config is: ... <appender name="email" class="ch.qos.logback.classic.net.SMTPAppender"> <SMTPHost>http://smtp.gmail.com</SMTPHost> <SMTPPort>465</SMTPPort> <SSL>true</SSL> <Username>[email protected]</Username> <Password>xxx</Password> <To>[email protected] <mailto:[email protected]></To> <From>[email protected] <mailto:[email protected]></From> <Subject>APP ERROR: %class{20} - %m</Subject> <!-- deny all events with a level below ERROR --> <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <level>ERROR</level> </filter> <layout class="ch.qos.logback.classic.PatternLayout"> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1} - %msg%n</pattern> </layout> </appender> ... ... and I'm getting this in the log: 19:41:03,031 |-ERROR in ch.qos.logback.core.joran.spi.interpre...@38:16 - no applicable action for [SMTPPort], current pattern is [[configuration][appender][SMTPPort]] 19:45:30,244 |-ERROR in ch.qos.logback.core.joran.spi.interpre...@39:11 - no applicable action for [SSL], current pattern is [[configuration][appender][SSL]] 19:45:40,367 |-ERROR in ch.qos.logback.core.joran.spi.interpre...@40:16 - no applicable action for [Username], current pattern is [[configuration][appender][Username]] 19:45:40,740 |-ERROR in ch.qos.logback.core.joran.spi.interpre...@41:16 - no applicable action for [Password], current pattern is [[configuration][appender][Password]] Any suggestion on what could be wrong? Thanks, Federico
_______________________________________________ Logback-user mailing list [email protected] http://qos.ch/mailman/listinfo/logback-user
