org.objectweb.jonas.log
Interface LogManagementMBean

All Known Implementing Classes:
LogManagement

public interface LogManagementMBean

MBean interface for Logger management.

Author:
Philippe Durieux, Adriana Danes

Method Summary
 Map getHandlerAttributes(String handlerName)
           
 String[] getHandlerNames()
           
 Properties getProperties()
           
 String getTopicLevel(String topic)
           
 String[] getTopics()
          Assumes that all Loggers are TopicalLogger.
 void saveConfig()
          Saves the current configuration.
 void setTopicLevel(String topic, String level)
          Set a Topic's level.
 

Method Detail

getTopics

String[] getTopics()
Assumes that all Loggers are TopicalLogger.

Returns:
Returns the topics name list.

getTopicLevel

String getTopicLevel(String topic)
Parameters:
topic - the topic we need to know its level.
Returns:
Returns a topic's level.

setTopicLevel

void setTopicLevel(String topic,
                   String level)
Set a Topic's level.

Parameters:
topic - topic name.
level - the level to set on the given topic.

getProperties

Properties getProperties()
Returns:
Returns the list of logging system configuration properties.

saveConfig

void saveConfig()
Saves the current configuration.


getHandlerNames

String[] getHandlerNames()
Returns:
Returns the names of the Monolog handlers.

getHandlerAttributes

Map getHandlerAttributes(String handlerName)
Parameters:
handlerName - the handler name.
Returns:
Returns the Map of the handler's configuration attributes.


Copyright © 2007 OW2 Consortium. All Rights Reserved.