org.apache.felix.jmood.compendium
Interface LogManagerMBean

All Known Implementing Classes:
LogManager

public interface LogManagerMBean


Method Summary
 CompositeData[] getLog()
           
 int getLogLevel()
           
 String[] getLogMessages()
          This method exposes the attribute LogFromReader for remote management.
 void setLogLevel(int level)
           
 

Method Detail

setLogLevel

void setLogLevel(int level)
                 throws Exception
Throws:
Exception

getLogLevel

int getLogLevel()
                throws Exception
Throws:
Exception

getLog

CompositeData[] getLog()
                       throws Exception
Throws:
Exception

getLogMessages

String[] getLogMessages()
                        throws Exception
This method exposes the attribute LogFromReader for remote management. The main difference with the log attribute is that the later uses the level configuration specified by the log level attribute and as a drawback does not include log entries registered before the log manager was started.

Returns:
Throws:
Exception


Copyright © 2011 Apache Software Foundation. All Rights Reserved.