For more information about this appender, please refer to the online manual at http://logback.qos.ch/manual/appenders.html#SyslogAppender
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| pack-priv PatternLayout | |
| pack-priv String | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Layout | |
| public SyslogOutputStream | createOutputStream()
Implements abstract ch. |
| pack-priv String | |
| public int | getSeverityForEvent(Object eventObject)
Implements abstract ch. |
| public String | |
| private void | handleThrowableFirstLine(OutputStream sw, IThrowableProxy tp, String stackTracePrefix, boolean isRootException)
|
| public boolean | |
| protected void | postProcess(Object eventObject, OutputStream sw)
Overrides ch. |
| public void | setStackTracePattern(String stackTracePattern)
Stack trace lines are sent to the syslog server separately from the main
message For stack trace lines, the stackTracePattern is used instead of
|
| public void | setThrowableExcluded(boolean throwableExcluded)
Setting throwableExcluded to true causes no Throwable's stack trace data to be sent to the syslog daemon. |
| private void | |
| pack-priv boolean | |
| public void | start()
Overrides ch. Implements ch. |
| DEFAULT_STACKTRACE_PATTERN | back to summary |
|---|---|
| public static final String DEFAULT_STACKTRACE_PATTERN | |
| DEFAULT_SUFFIX_PATTERN | back to summary |
|---|---|
| public static final String DEFAULT_SUFFIX_PATTERN | |
| stackTraceLayout | back to summary |
|---|---|
| pack-priv PatternLayout stackTraceLayout | |
| stackTracePattern | back to summary |
|---|---|
| pack-priv String stackTracePattern | |
| throwableExcluded | back to summary |
|---|---|
| pack-priv boolean throwableExcluded | |
| SyslogAppender | back to summary |
|---|---|
| public SyslogAppender() | |
| buildLayout | back to summary |
|---|---|
| public Layout Implements abstract ch. | |
| createOutputStream | back to summary |
|---|---|
| public SyslogOutputStream createOutputStream() throws SocketException, UnknownHostException Implements abstract ch.
| |
| getPrefixPattern | back to summary |
|---|---|
| pack-priv String getPrefixPattern() | |
| getSeverityForEvent | back to summary |
|---|---|
| public int getSeverityForEvent(Object eventObject) Implements abstract ch. Convert a level to equivalent syslog severity. Only levels for printing methods i.e. DEBUG, WARN, INFO and ERROR are converted. | |
| getStackTracePattern | back to summary |
|---|---|
| public String getStackTracePattern() See {@link #setStackTracePattern(String).
| |
| handleThrowableFirstLine | back to summary |
|---|---|
| private void handleThrowableFirstLine(OutputStream sw, IThrowableProxy tp, String stackTracePrefix, boolean isRootException) throws IOException | |
| isThrowableExcluded | back to summary |
|---|---|
| public boolean isThrowableExcluded() | |
| postProcess | back to summary |
|---|---|
| protected void postProcess(Object eventObject, OutputStream sw) Overrides ch.
| |
| setStackTracePattern | back to summary |
|---|---|
| public void setStackTracePattern(String stackTracePattern) Stack trace lines are sent to the syslog server separately from the main
message For stack trace lines, the stackTracePattern is used instead of
| |
| setThrowableExcluded | back to summary |
|---|---|
| public void setThrowableExcluded(boolean throwableExcluded) 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.
| |
| setupStackTraceLayout | back to summary |
|---|---|
| private void setupStackTraceLayout() | |
| stackTraceHeaderLine | back to summary |
|---|---|
| pack-priv boolean stackTraceHeaderLine(StringBuilder sb, boolean topException) | |
| start | back to summary |
|---|---|
| public void start() Overrides ch. Implements ch. | |