This is my first msg to this email list so, i'm sorry if i'm doing something wrong.
Well, at ch.qos.logback.core.net.SMTPAppenderBase.lookupSessionInJNDI() method( https://github.com/qos-ch/logback/blob/v_1.0.13/logback-core/src/main/java/ch/qos/logback/core/net/SMTPAppenderBase.java#L156 ), is there a reason why caught exception instance is not being used at addError error method call? Currently I'm having problems retrieving jndi instance and I have no idea why, this is what is print at my console: 10:28:21,114 |-INFO in ch.qos.logback.classic.net.SMTPAppender[EMAIL] - Looking up javax.mail.Session at JNDI location [java:comp/env/mail/FooBar] 10:28:21,115 |-ERROR in ch.qos.logback.classic.net.SMTPAppender[EMAIL] - Failed to obtain javax.mail.Session from JNDI location [java:comp/env/mail/FooBar] 10:28:21,115 |-ERROR in ch.qos.logback.classic.net.SMTPAppender[EMAIL] - Failed to obtain javax.mail.Session. Cannot start. Wouldn't be better to add exception instance to ErrorStatus? Thanks in advance. -- Fabio Cechinel Veronez
_______________________________________________ logback-dev mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-dev
