org.mule.agent
Class Log4jNotificationLoggerAgent
java.lang.Object
org.mule.AbstractAgent
org.mule.agent.AbstractNotificationLoggerAgent
org.mule.agent.Log4jNotificationLoggerAgent
- All Implemented Interfaces:
- Agent, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, NamedObject
public class Log4jNotificationLoggerAgent
- extends AbstractNotificationLoggerAgent
AbstractNotificationLoggerAgent
Receives Mule server notifications
and logs them and can optionally route them to an endpoint
Methods inherited from class org.mule.agent.AbstractNotificationLoggerAgent |
dispose, initialise, isIgnoreAdminNotifications, isIgnoreComponentMessageNotifications, isIgnoreComponentNotifications, isIgnoreConnectionNotifications, isIgnoreCustomNotifications, isIgnoreEndpointMessageNotifications, isIgnoreManagementNotifications, isIgnoreManagerNotifications, isIgnoreMessageNotifications, isIgnoreModelNotifications, isIgnoreSecurityNotifications, registered, setIgnoreAdminNotifications, setIgnoreComponentMessageNotifications, setIgnoreComponentNotifications, setIgnoreConnectionNotifications, setIgnoreCustomNotifications, setIgnoreEndpointMessageNotifications, setIgnoreManagementNotifications, setIgnoreManagerNotifications, setIgnoreMessageNotifications, setIgnoreModelNotifications, setIgnoreSecurityNotifications, start, stop, unregistered |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_DESCRIPTION_BUFFER_SIZE
protected static final int DEFAULT_DESCRIPTION_BUFFER_SIZE
- See Also:
- Constant Field Values
eventLogger
protected Logger eventLogger
Log4jNotificationLoggerAgent
public Log4jNotificationLoggerAgent()
getDescription
public String getDescription()
- Should be a 1 line description of the agent
- Specified by:
getDescription
in interface Agent
- Overrides:
getDescription
in class AbstractAgent
- Returns:
- the description of this Agent
getLogName
public String getLogName()
setLogName
public void setLogName(String logName)
doInitialise
protected void doInitialise()
throws InitialisationException
- Specified by:
doInitialise
in class AbstractNotificationLoggerAgent
- Throws:
InitialisationException
logEvent
protected void logEvent(ServerNotification e)
- Specified by:
logEvent
in class AbstractNotificationLoggerAgent
getLogFile
public String getLogFile()
setLogFile
public void setLogFile(String logFile)
getLogConfigFile
public String getLogConfigFile()
setLogConfigFile
public void setLogConfigFile(String logConfigFile)
getChainsawHost
public String getChainsawHost()
setChainsawHost
public void setChainsawHost(String chainsawHost)
getChainsawPort
public int getChainsawPort()
setChainsawPort
public void setChainsawPort(int chainsawPort)
getLevelMappings
public Map getLevelMappings()
setLevelMappings
public void setLevelMappings(Map levelMappings)
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.