org.mule.impl.internal.admin
Class Log4jNotificationLoggerAgent
java.lang.Object
org.mule.impl.internal.admin.AbstractNotificationLoggerAgent
org.mule.impl.internal.admin.Log4jNotificationLoggerAgent
- All Implemented Interfaces:
- Disposable, Initialisable, Lifecycle, Startable, Stoppable, UMOAgent
- 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.impl.internal.admin.AbstractNotificationLoggerAgent |
dispose, getName, initialise, isIgnoreAdminNotifications, isIgnoreComponentNotifications, isIgnoreConnectionNotifications, isIgnoreCustomNotifications, isIgnoreManagementNotifications, isIgnoreManagerNotifications, isIgnoreModelNotifications, isIgnoreSecurityNotifications, registered, setIgnoreAdminNotifications, setIgnoreComponentNotifications, setIgnoreConnectionNotifications, setIgnoreCustomNotifications, setIgnoreManagementNotifications, setIgnoreManagerNotifications, setIgnoreModelNotifications, setIgnoreSecurityNotifications, setName, start, stop, unregistered |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eventLogger
protected Logger eventLogger
Log4jNotificationLoggerAgent
public Log4jNotificationLoggerAgent()
getDescription
public String getDescription()
- Should be a 1 line description of the agent
- Returns:
- the description of this Agent
getLogName
public String getLogName()
setLogName
public void setLogName(String logName)
doInitialise
public void doInitialise()
throws InitialisationException
- Specified by:
doInitialise in class AbstractNotificationLoggerAgent
- Throws:
InitialisationException
logEvent
protected void logEvent(UMOServerNotification 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-2006 MuleSource Inc.. All Rights Reserved.