org.apache.accumulo.core.util
public class AsyncSocketAppender extends org.apache.log4j.AsyncAppender
AsyncAppender
, this appender can be configured with a Log4J
properties file, although in that case no additional appenders can be added.Constructor and Description |
---|
AsyncSocketAppender()
Creates a new appender.
|
Modifier and Type | Method and Description |
---|---|
void |
append(org.apache.log4j.spi.LoggingEvent event) |
String |
getApplication() |
int |
getPort() |
int |
getReconnectionDelay() |
String |
getRemoteHost() |
boolean |
isAdvertiseViaMulticastDNS() |
void |
setAdvertiseViaMulticastDNS(boolean advertiseViaMulticastDNS) |
void |
setApplication(String lapp) |
void |
setLocationInfo(boolean locationInfo) |
void |
setPort(int port) |
void |
setReconnectionDelay(int delay) |
void |
setRemoteHost(String host) |
addAppender, close, getAllAppenders, getAppender, getBlocking, getBufferSize, getLocationInfo, isAttached, removeAllAppenders, removeAppender, removeAppender, requiresLayout, setBlocking, setBufferSize
public void append(org.apache.log4j.spi.LoggingEvent event)
append
in class org.apache.log4j.AsyncAppender
public String getApplication()
public int getPort()
public int getReconnectionDelay()
public String getRemoteHost()
public boolean isAdvertiseViaMulticastDNS()
public void setAdvertiseViaMulticastDNS(boolean advertiseViaMulticastDNS)
public void setApplication(String lapp)
public void setLocationInfo(boolean locationInfo)
setLocationInfo
in class org.apache.log4j.AsyncAppender
public void setPort(int port)
public void setReconnectionDelay(int delay)
public void setRemoteHost(String host)
Copyright © 2011–2015 The Apache Software Foundation. All rights reserved.