org.apache.karaf.shell.log
Class GetLogLevel
java.lang.Object
org.apache.karaf.shell.console.AbstractAction
org.apache.karaf.shell.console.OsgiCommandSupport
org.apache.karaf.shell.log.GetLogLevel
- All Implemented Interfaces:
- org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware
public class GetLogLevel
- extends org.apache.karaf.shell.console.OsgiCommandSupport
Get the log level for a given logger
| Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport |
bundleContext, usedReferences |
| Fields inherited from class org.apache.karaf.shell.console.AbstractAction |
log, session |
| 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 |
GetLogLevel
public GetLogLevel()
doExecute
protected Object doExecute()
throws Exception
- Specified by:
doExecute in class org.apache.karaf.shell.console.AbstractAction
- Throws:
Exception
getLevel
protected String getLevel(String prop)
getConfigAdmin
protected org.osgi.service.cm.ConfigurationAdmin getConfigAdmin()
Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.