Package | Description |
---|---|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
org.apache.logging.log4j.core.net |
Log4j 2 network support.
|
org.apache.logging.log4j.core.net.server |
Standalone server classes for consuming log events over a network.
|
org.apache.logging.log4j.core.net.ssl |
Log4j 2 SSL support
|
Modifier and Type | Method and Description |
---|---|
static SyslogAppender |
SyslogAppender.createAppender(String host,
int port,
String protocolStr,
SslConfiguration sslConfig,
int connectTimeoutMillis,
int reconnectionDelayMillis,
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,
int connectTimeoutMillis,
String delayMillis,
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,
int connectTimeoutMillis,
SslConfiguration sslConfig,
int delayMillis,
boolean immediateFail,
Layout<? extends Serializable> layout)
Creates an AbstractSocketManager for TCP, UDP, and SSL.
|
SmtpAppender.Builder |
SmtpAppender.Builder.setSslConfiguration(SslConfiguration sslConfiguration)
Specifies an SSL configuration for smtps connections.
|
Modifier and Type | Method and Description |
---|---|
static SmtpManager |
SmtpManager.getSMTPManager(String to,
String cc,
String bcc,
String from,
String replyTo,
String subject,
String protocol,
String host,
int port,
String username,
String password,
boolean isDebug,
String filterName,
int numElements,
SslConfiguration sslConfiguration) |
static SslSocketManager |
SslSocketManager.getSocketManager(SslConfiguration sslConfig,
String host,
int port,
int connectTimeoutMillis,
int delayMillis,
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 connectTimeoutMillis,
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)
|
static SslConfiguration |
SslConfiguration.createSSLConfiguration(String protocol,
KeyStoreConfiguration keyStoreConfig,
TrustStoreConfiguration trustStoreConfig,
boolean verifyHostName)
Creates an SslConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SslConfiguration.equals(SslConfiguration config) |
Copyright © 1999-2021 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.