Package | Description |
---|---|
org.apache.logging.log4j.core.appender |
Log4j 2.0 Appenders.
|
org.apache.logging.log4j.core.net |
Log4j 2.0 network support.
|
org.apache.logging.log4j.core.net.server | |
org.apache.logging.log4j.core.net.ssl |
Log4j 2.0 SSL support
|
Modifier and Type | Method and Description |
---|---|
static SyslogAppender |
SyslogAppender.createAppender(String host,
int port,
String protocolStr,
SslConfiguration sslConfig,
int reconnectionDelay,
boolean immediateFail,
String name,
boolean immediateFlush,
boolean ignoreExceptions,
Facility facility,
String id,
int enterpriseNumber,
boolean includeMdc,
String mdcId,
String mdcPrefix,
String eventPrefix,
boolean newLine,
String escapeNL,
String appName,
String msgId,
String excludes,
String includes,
String required,
String format,
Filter filter,
Configuration config,
Charset charsetName,
String exceptionPattern,
LoggerFields[] loggerFields,
boolean advertise)
Create a SyslogAppender.
|
static SocketAppender |
SocketAppender.createAppender(String host,
String portNum,
String protocolStr,
SslConfiguration sslConfig,
String delay,
String immediateFail,
String name,
String immediateFlush,
String ignore,
Layout<? extends Serializable> layout,
Filter filter,
String advertise,
Configuration config) |
protected static AbstractSocketManager |
SocketAppender.createSocketManager(String name,
Protocol protocol,
String host,
int port,
SslConfiguration sslConfig,
int delay,
boolean immediateFail,
Layout<? extends Serializable> layout)
Creates an AbstractSocketManager for TCP, UDP, and SSL.
|
Modifier and Type | Method and Description |
---|---|
static SslSocketManager |
SslSocketManager.getSocketManager(SslConfiguration sslConfig,
String host,
int port,
int delay,
boolean immediateFail,
Layout<? extends Serializable> layout) |
Constructor and Description |
---|
SslSocketManager(String name,
OutputStream os,
Socket sock,
SslConfiguration sslConfig,
InetAddress inetAddress,
String host,
int port,
int delay,
boolean immediateFail,
Layout<? extends Serializable> layout) |
Constructor and Description |
---|
SecureTcpSocketServer(int port,
LogEventBridge<T> logEventInput,
SslConfiguration sslConfig) |
Modifier and Type | Method and Description |
---|---|
static SslConfiguration |
SslConfiguration.createSSLConfiguration(String protocol,
KeyStoreConfiguration keyStoreConfig,
TrustStoreConfiguration trustStoreConfig)
Creates an SslConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SslConfiguration.equals(SslConfiguration config) |
Copyright © 1999-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.