org.apache.karaf.shell.log
Class SetLogLevel

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.apache.karaf.shell.log.SetLogLevel
All Implemented Interfaces:
Action, BundleContextAware

public class SetLogLevel
extends OsgiCommandSupport

Set the log level for a given logger


Field Summary
 
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
bundleContext, usedReferences
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
SetLogLevel()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
protected  org.osgi.service.cm.ConfigurationAdmin getConfigAdmin()
           
protected  org.osgi.service.cm.Configuration getConfiguration()
           
 
Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
execute, getAllServices, getBundleContext, getService, setBundleContext, ungetServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetLogLevel

public SetLogLevel()
Method Detail

doExecute

protected java.lang.Object doExecute()
                              throws Exception
Specified by:
doExecute in class AbstractAction
Throws:
Exception

getConfiguration

protected org.osgi.service.cm.Configuration getConfiguration()
                                                      throws java.io.IOException
Throws:
java.io.IOException

getConfigAdmin

protected org.osgi.service.cm.ConfigurationAdmin getConfigAdmin()


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.