Class SocketAppender

java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase<IAccessEvent>
ch.qos.logback.core.net.AbstractSocketAppender<IAccessEvent>
ch.qos.logback.access.common.net.SocketAppender
All Implemented Interfaces:
ch.qos.logback.core.Appender<IAccessEvent>, ch.qos.logback.core.net.SocketConnector.ExceptionHandler, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.FilterAttachable<IAccessEvent>, ch.qos.logback.core.spi.LifeCycle

public class SocketAppender extends ch.qos.logback.core.net.AbstractSocketAppender<IAccessEvent>
Sends IAccessEvent objects to a remote a log server, usually a SocketNode. For more information about this appender, please refer to the online manual at http://logback.qos.ch/manual/appenders.html#AccessSocketAppender
Author:
Ceki Gülcü, Sébastien Pennec
  • Field Summary

    Fields inherited from class ch.qos.logback.core.net.AbstractSocketAppender

    DEFAULT_PORT, DEFAULT_QUEUE_SIZE, DEFAULT_RECONNECTION_DELAY

    Fields inherited from class ch.qos.logback.core.AppenderBase

    name, started

    Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase

    context
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ch.qos.logback.core.spi.PreSerializationTransformer<IAccessEvent>
     
    protected void
     

    Methods inherited from class ch.qos.logback.core.net.AbstractSocketAppender

    append, connectionFailed, getEventDelayLimit, getPort, getQueueSize, getReconnectionDelay, getRemoteHost, getSocketFactory, newConnector, setEventDelayLimit, setPort, setQueueSize, setReconnectionDelay, setRemoteHost, start, stop

    Methods inherited from class ch.qos.logback.core.AppenderBase

    addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString

    Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface ch.qos.logback.core.spi.ContextAware

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
  • Constructor Details

    • SocketAppender

      public SocketAppender()
  • Method Details

    • postProcessEvent

      protected void postProcessEvent(IAccessEvent event)
      Specified by:
      postProcessEvent in class ch.qos.logback.core.net.AbstractSocketAppender<IAccessEvent>
    • getPST

      public ch.qos.logback.core.spi.PreSerializationTransformer<IAccessEvent> getPST()
      Specified by:
      getPST in class ch.qos.logback.core.net.AbstractSocketAppender<IAccessEvent>