Description
Add a Builder for the SocketAppender and deprecate the factory method.
I need to add parameters for bufferedIo and bufferSize to the SocketAppender and the SyslogAppender as I am embarking on a project that will use Syslog events in large quantities. Then I'd like to also add these to other streaming appenders. I'll create a different ticket for these.
Deprecated:
- org.apache.logging.log4j.core.appender.SocketAppender.createAppender(String, int, Protocol, SslConfiguration, int, int, boolean, String, boolean, boolean, Layout<? extends Serializable>, Filter, boolean, Configuration)
- org.apache.logging.log4j.core.appender.SocketAppender.createAppender(String, String, String, SslConfiguration, int, String, String, String, String, String, Layout<? extends Serializable>, Filter, String, Configuration)
When should we deprecate these?
Attachments
Issue Links
- is required by
-
LOG4J2-1558 SocketAppender should support IO buffering
- Resolved