Class SyslogAppender

All Implemented Interfaces:
Appender<ILoggingEvent>, ContextAware, FilterAttachable<ILoggingEvent>, LifeCycle

@Deprecated(since="2022-01-27") public class SyslogAppender extends SyslogAppenderBase<ILoggingEvent>
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
This appender can be used to send messages to a remote syslog daemon.

For more information about this appender, please refer to the online manual at http://logback.qos.ch/manual/appenders.html#SyslogAppender

  • Field Details

  • Constructor Details

    • SyslogAppender

      public SyslogAppender()
      Deprecated.
  • Method Details

    • start

      public void start()
      Deprecated.
      Specified by:
      start in interface LifeCycle
      Overrides:
      start in class SyslogAppenderBase<ILoggingEvent>
    • createOutputStream

      public SyslogOutputStream createOutputStream() throws SocketException, UnknownHostException
      Deprecated.
      Specified by:
      createOutputStream in class SyslogAppenderBase<ILoggingEvent>
      Throws:
      SocketException
      UnknownHostException
    • getSeverityForEvent

      public int getSeverityForEvent(Object eventObject)
      Deprecated.
      Convert a level to equivalent syslog severity. Only levels for printing methods i.e DEBUG, WARN, INFO and ERROR are converted.
      Specified by:
      getSeverityForEvent in class SyslogAppenderBase<ILoggingEvent>
      See Also:
    • buildLayout

      public Layout<ILoggingEvent> buildLayout()
      Deprecated.
      Specified by:
      buildLayout in class SyslogAppenderBase<ILoggingEvent>
    • isThrowableExcluded

      public boolean isThrowableExcluded()
      Deprecated.
    • setThrowableExcluded

      public void setThrowableExcluded(boolean throwableExcluded)
      Deprecated.
      Setting throwableExcluded to true causes no Throwable's stack trace data to be sent to the syslog daemon. By default, stack trace data is sent to syslog daemon.
      Parameters:
      throwableExcluded -
      Since:
      1.0.4
    • getStackTracePattern

      public String getStackTracePattern()
      Deprecated.
      See
      invalid @link
      {@link #setStackTracePattern(String).
      Returns:
      the stackTraceSuffixPattern
      Since:
      1.0.4
    • setStackTracePattern

      public void setStackTracePattern(String stackTracePattern)
      Deprecated.
      Stack trace lines are sent to the syslog server separately from the main message For stack trace lines, the stackTracePattern is used instead of SyslogAppenderBase.suffixPattern. The stackTracePattern option allows specification of a separately format for the non-standardized part of stack trace lines.
      Parameters:
      stackTracePattern -
      Since:
      1.0.4