org.mod4j.runtime.jmx
Class Log4j

java.lang.Object
  extended by org.mod4j.runtime.jmx.Log4j
All Implemented Interfaces:
Log4jMBean

public class Log4j
extends java.lang.Object
implements Log4jMBean

Log4jMBean implementation class.

Author:
Philippe Tjon-a-Hen

Constructor Summary
Log4j()
           
 
Method Summary
 void activateDebug(java.lang.String category)
          Set the log level of the specified logging categorie to debug.
 void activateError(java.lang.String category)
          Set the log level of the specified logging categorie to error.
 void activateFatal(java.lang.String category)
          Set the log level of the specified logging categorie to fatal.
 void activateInfo(java.lang.String category)
          Set the log level of the specified logging categorie to info.
 void activateTrace(java.lang.String category)
          Set the log level of the specified logging categorie to trace.
 void activateWarn(java.lang.String category)
          Set the log level of the specified logging categorie to warn.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4j

public Log4j()
Method Detail

activateTrace

public void activateTrace(java.lang.String category)
Description copied from interface: Log4jMBean
Set the log level of the specified logging categorie to trace.

Specified by:
activateTrace in interface Log4jMBean

activateInfo

public void activateInfo(java.lang.String category)
Set the log level of the specified logging categorie to info.

Specified by:
activateInfo in interface Log4jMBean

activateDebug

public void activateDebug(java.lang.String category)
Set the log level of the specified logging categorie to debug.

Specified by:
activateDebug in interface Log4jMBean

activateWarn

public void activateWarn(java.lang.String category)
Set the log level of the specified logging categorie to warn.

Specified by:
activateWarn in interface Log4jMBean

activateError

public void activateError(java.lang.String category)
Set the log level of the specified logging categorie to error.

Specified by:
activateError in interface Log4jMBean

activateFatal

public void activateFatal(java.lang.String category)
Set the log level of the specified logging categorie to fatal.

Specified by:
activateFatal in interface Log4jMBean


Copyright © 2009. All Rights Reserved.