public class Log4jNotificationLoggerAgent extends AbstractNotificationLoggerAgent
AbstractNotificationLoggerAgent Receives Mule server notifications
and logs them and can optionally route them to an endpoint| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_DESCRIPTION_BUFFER_SIZE |
protected org.apache.log4j.Logger |
eventLogger |
loggermuleContext, namePHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_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, stopgetName, setMuleContext, setName, unregisterMeQuietlyprotected static final int DEFAULT_DESCRIPTION_BUFFER_SIZE
protected org.apache.log4j.Logger eventLogger
public String getDescription()
getDescription in interface AgentgetDescription in class AbstractAgentpublic String getLogName()
public void setLogName(String logName)
protected void doInitialise()
throws InitialisationException
doInitialise in class AbstractNotificationLoggerAgentInitialisationExceptionprotected void logEvent(ServerNotification e)
logEvent in class AbstractNotificationLoggerAgentpublic 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.