| org.jboss.logging.Log4jServiceMBean
All known Subclasses: org.jboss.logging.Log4jService,
Log4jServiceMBean | public interface Log4jServiceMBean extends ServiceMBean(Code) | | MBean interface.
|
RECONFIGURE_NOTIFICATION_TYPE | String RECONFIGURE_NOTIFICATION_TYPE(Code) | | Notification type used to indicate a log4j reconfiguration
|
getCatchSystemErr | boolean getCatchSystemErr()(Code) | | |
getCatchSystemOut | boolean getCatchSystemOut()(Code) | | |
getConfigurationURL | URL getConfigurationURL()(Code) | | |
getLog4jQuietMode | boolean getLog4jQuietMode()(Code) | | |
getLoggerLevel | String getLoggerLevel(String name)(Code) | | Gets the level of the logger of the give name.
Parameters: name - The name of the logger to inspect. |
getRefreshPeriod | int getRefreshPeriod()(Code) | | |
reconfigure | void reconfigure() throws IOException(Code) | | Force the logging system to reconfigure.
|
reconfigure | void reconfigure(String url) throws IOException, MalformedURLException(Code) | | Hack to reconfigure and change the URL. This is needed until
we have a JMX HTML Adapter that can use PropertyEditor to coerce.
Parameters: url - The new configuration url |
setCatchSystemErr | void setCatchSystemErr(boolean flag)(Code) | | The catch System.err flag.
Parameters: flag - True to enable, false to disable. |
setCatchSystemOut | void setCatchSystemOut(boolean flag)(Code) | | The catch System.out flag.
Parameters: flag - True to enable, false to disable. |
setConfigurationURL | void setConfigurationURL(URL url)(Code) | | The Log4j configuration URL.
|
setLog4jQuietMode | void setLog4jQuietMode(boolean flag)(Code) | | The org.apache.log4j.helpers.LogLog.setQuietMode flag
True if enabled, false if disabled. |
setLoggerLevel | void setLoggerLevel(String name, String levelName)(Code) | | Sets the level for a logger of the give name.
Values are trimmed before used.
Parameters: name - The name of the logger to change level Parameters: levelName - The name of the level to change the logger to. |
setLoggerLevels | void setLoggerLevels(String list, String levelName)(Code) | | Sets the levels of each logger specified by the given comma seperated list of logger names.
See Also: Log4jServiceMBean.setLoggerLevel Parameters: list - A comma seperated list of logger names. Parameters: levelName - The name of the level to change the logger to. |
setRefreshPeriod | void setRefreshPeriod(int refreshPeriod)(Code) | | The refresh period.
|
|
|