To do what? I’ve never really used JNDI for much (except when I actually wanted to access LDAP).
Ralph > On Jul 26, 2016, at 8:49 AM, Gary Gregory <garydgreg...@gmail.com> wrote: > > Any thoughts on a JNDI configuration epic? > > Gary > > ---------- Forwarded message ---------- > From: Nicolò Chieffo (JIRA) <j...@apache.org <mailto:j...@apache.org>> > Date: Tue, Jul 26, 2016 at 4:59 AM > Subject: [jira] [Updated] (LOG4J2-1478) SMTP appender which uses JNDI > To: garydgreg...@gmail.com <mailto:garydgreg...@gmail.com> > > > > [ > https://issues.apache.org/jira/browse/LOG4J2-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > <https://issues.apache.org/jira/browse/LOG4J2-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel> > ] > > Nicolò Chieffo updated LOG4J2-1478: > ----------------------------------- > Attachment: JndiSmtpManager262.java > JndiSmtpAppender262.java > > I don't know if this can be useful to you, but I attached 2 files that are > based on 2.6.2 code for SmtpAppender and SmptManager. > In the configuration you can pass a parameter jndiName="" to indicate that > you need a Jndi Mail Session > > > SMTP appender which uses JNDI > > ----------------------------- > > > > Key: LOG4J2-1478 > > URL: https://issues.apache.org/jira/browse/LOG4J2-1478 > > <https://issues.apache.org/jira/browse/LOG4J2-1478> > > Project: Log4j 2 > > Issue Type: Wish > > Components: Appenders > > Reporter: Nicolò Chieffo > > Attachments: JndiSmtpAppender262.java, JndiSmtpManager262.java > > > > > > It would be useful to have an additional option to the SMTP appender, which > > uses a JNDI name to configure the smtp server > > > > -- > This message was sent by Atlassian JIRA > (v6.3.4#6332) > > > > -- > E-Mail: garydgreg...@gmail.com <mailto:garydgreg...@gmail.com> | > ggreg...@apache.org <mailto:ggreg...@apache.org> > Java Persistence with Hibernate, Second Edition > <http://www.manning.com/bauer3/> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> > Spring Batch in Action <http://www.manning.com/templier/> > Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/> > Home: http://garygregory.com/ <http://garygregory.com/> > Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>