Done in SVN. There is now ONE SocketAppender that handles SSL, TCP, and UDP. There is also now ONE SyslogAppender.
SSL configuration now allows you more configuration options as well. Next week, I'd like to allow files to be encrypted on rollover and streams to be encrypted on the fly, I know that would be slower, but useful. Another security issue for our users is log scrubbing like removing SSNs and other identifying data, but I have no idea how to deal with that yet. This might be out of scope for Log4J but I could see scrubbing taking place on a rollover for example. Gary On Thu, May 22, 2014 at 9:02 AM, Gary Gregory <[email protected]>wrote: > OK, I'll do that then. > > Gary > > > On Thu, May 22, 2014 at 2:08 AM, Ralph Goers <[email protected]> wrote: > >> Makes sense to me. >> >> Sent from my iPad >> >> On May 21, 2014, at 11:05 PM, Gary Gregory <[email protected]> >> wrote: >> >> I recently added SecureSocketAppender >> >> Looking closely, you'll see that the only real difference between >> SecureSocketAppender and SocketAppender is that SecureSocketAppender has >> one additional parameter: SslConfiguration. >> >> Another small difference is the SecureSocketAppender only has one legal >> value for protocol now: "TLS". >> >> So why not simply add an SslConfiguration parameter to SocketAppender >> with a null default value and remove SecureSocketAppender? If the user >> specifies a SslConfiguration, we use it, if not it's a plan TCP or UDP >> socket. >> >> If the user passes both UPD and an SslConfiguration, that's an >> IllegalArgumentException. >> >> The same pattern applies to SyslogAppender and TlsSyslogAppende. >> >> Thoughts? >> >> Gary >> >> -- >> E-Mail: [email protected] | [email protected] >> 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 >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory >> >> > > > -- > E-Mail: [email protected] | [email protected] > 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 > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory > -- E-Mail: [email protected] | [email protected] 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 Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
