Class SSLSocketAppender
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase<ILoggingEvent>
ch.qos.logback.core.net.AbstractSocketAppender<ILoggingEvent>
ch.qos.logback.core.net.AbstractSSLSocketAppender<ILoggingEvent>
ch.qos.logback.classic.net.SSLSocketAppender
- All Implemented Interfaces:
Appender<ILoggingEvent>, SocketConnector.ExceptionHandler, SSLComponent, ContextAware, FilterAttachable<ILoggingEvent>, LifeCycle
A
SocketAppender that supports SSL.
For more information on this appender, please refer to the online manual at http://logback.qos.ch/manual/appenders.html#SSLSocketAppender
- Author:
- Carl Harris
-
Field Summary
Fields inherited from class AbstractSocketAppender
DEFAULT_PORT, DEFAULT_QUEUE_SIZE, DEFAULT_RECONNECTION_DELAYFields inherited from class AppenderBase
name, startedFields inherited from class ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPST()Get the pre-serialization transformer that will be used to transform each event into a Serializable object before delivery to the remote receiver.protected voidpostProcessEvent(ILoggingEvent event) Post-processes an event before it is serialized for delivery to the remote receiver.voidsetIncludeCallerData(boolean includeCallerData) Methods inherited from class AbstractSSLSocketAppender
getSocketFactory, getSsl, setSsl, startMethods inherited from class AbstractSocketAppender
append, connectionFailed, getEventDelayLimit, getPort, getQueueSize, getReconnectionDelay, getRemoteHost, newConnector, setEventDelayLimit, setPort, setQueueSize, setReconnectionDelay, setRemoteHost, stopMethods inherited from class AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringMethods inherited from class ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
SSLSocketAppender
public SSLSocketAppender()
-
-
Method Details
-
postProcessEvent
Description copied from class:AbstractSocketAppenderPost-processes an event before it is serialized for delivery to the remote receiver.- Specified by:
postProcessEventin classAbstractSocketAppender<ILoggingEvent>- Parameters:
event- the event to post-process
-
setIncludeCallerData
-
getPST
Description copied from class:AbstractSocketAppenderGet the pre-serialization transformer that will be used to transform each event into a Serializable object before delivery to the remote receiver.- Specified by:
getPSTin classAbstractSocketAppender<ILoggingEvent>- Returns:
- transformer object
-