public class ClassicJsonMultiplexSocketAppender extends MultiplexSocketAppenderBase<ch.qos.logback.classic.spi.LoggingEvent>
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPRESSED_DEFAULT_PORT
The default port number of compressed new-style remote logging server (10030).
|
static int |
UNCOMPRESSED_DEFAULT_PORT
The default port number of uncompressed new-style remote logging server (10031).
|
| Constructor and Description |
|---|
ClassicJsonMultiplexSocketAppender() |
ClassicJsonMultiplexSocketAppender(boolean compressing) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applicationIdentifierChanged() |
protected void |
preProcess(ch.qos.logback.classic.spi.LoggingEvent event) |
void |
setCompressing(boolean compressing)
GZIPs the event if set to true.
|
void |
setIncludeCallerData(boolean includeCallerData) |
void |
setPort(int port) |
protected void |
uuidChanged() |
addRemoteHost, append, getApplicationIdentifier, getPort, getUUID, isDebug, setApplicationIdentifier, setCreatingUUID, setDebug, setEncoder, setReconnectionDelay, setRemoteHosts, setRemoteHostsList, start, stopaddFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic static final int COMPRESSED_DEFAULT_PORT
public static final int UNCOMPRESSED_DEFAULT_PORT
public ClassicJsonMultiplexSocketAppender()
public ClassicJsonMultiplexSocketAppender(boolean compressing)
protected void applicationIdentifierChanged()
applicationIdentifierChanged in class MultiplexSocketAppenderBase<ch.qos.logback.classic.spi.LoggingEvent>protected void uuidChanged()
uuidChanged in class MultiplexSocketAppenderBase<ch.qos.logback.classic.spi.LoggingEvent>public void setPort(int port)
setPort in class MultiplexSocketAppenderBase<ch.qos.logback.classic.spi.LoggingEvent>public void setCompressing(boolean compressing)
compressing - if events will be gzipped or not.public void setIncludeCallerData(boolean includeCallerData)
protected void preProcess(ch.qos.logback.classic.spi.LoggingEvent event)
preProcess in class MultiplexSocketAppenderBase<ch.qos.logback.classic.spi.LoggingEvent>