public class Log4jNotificationLoggerAgent extends AbstractNotificationLoggerAgent
AbstractNotificationLoggerAgent
Receives Mule server notifications
and logs them and can optionally route them to an endpointModifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_DESCRIPTION_BUFFER_SIZE |
protected Logger |
eventLogger |
logger
muleContext, name
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
Log4jNotificationLoggerAgent() |
Modifier and Type | Method and Description |
---|---|
protected void |
doInitialise() |
String |
getChainsawHost() |
int |
getChainsawPort() |
String |
getDescription()
Should be a 1 line description of the agent
|
Map<String,String> |
getLevelMappings() |
String |
getLogConfigFile() |
String |
getLogFile() |
String |
getLogName() |
protected void |
logEvent(ServerNotification e) |
void |
setChainsawHost(String chainsawHost) |
void |
setChainsawPort(int chainsawPort) |
void |
setLevelMappings(Map<String,String> levelMappings) |
void |
setLogConfigFile(String logConfigFile) |
void |
setLogFile(String logFile) |
void |
setLogName(String logName) |
dispose, initialise, isIgnoreAdminNotifications, isIgnoreComponentMessageNotifications, isIgnoreComponentNotifications, isIgnoreConnectionNotifications, isIgnoreCustomNotifications, isIgnoreEndpointMessageNotifications, isIgnoreManagementNotifications, isIgnoreManagerNotifications, isIgnoreMessageNotifications, isIgnoreMessageProcessorNotifications, isIgnoreModelNotifications, isIgnoreSecurityNotifications, setIgnoreAdminNotifications, setIgnoreComponentMessageNotifications, setIgnoreComponentNotifications, setIgnoreConnectionNotifications, setIgnoreCustomNotifications, setIgnoreEndpointMessageNotifications, setIgnoreManagementNotifications, setIgnoreManagerNotifications, setIgnoreMessageNotifications, setIgnoreMessageProcessorNotifications, setIgnoreModelNotifications, setIgnoreSecurityNotifications, start, stop
getName, setMuleContext, setName, unregisterMeQuietly
protected static final int DEFAULT_DESCRIPTION_BUFFER_SIZE
protected Logger eventLogger
public String getDescription()
getDescription
in interface Agent
getDescription
in class AbstractAgent
public String getLogName()
public void setLogName(String logName)
protected void doInitialise() throws InitialisationException
doInitialise
in class AbstractNotificationLoggerAgent
InitialisationException
protected void logEvent(ServerNotification e)
logEvent
in class AbstractNotificationLoggerAgent
public String getLogFile()
public void setLogFile(String logFile)
public String getLogConfigFile()
public void setLogConfigFile(String logConfigFile)
public String getChainsawHost()
public void setChainsawHost(String chainsawHost)
public int getChainsawPort()
public void setChainsawPort(int chainsawPort)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.