public class SlingLogPanel extends Object implements LogPanel
SlingLogPanel
is a Felix Web Console plugin to display the
current active log bundle configuration.
In future revisions of this plugin, the configuration may probably even be
modified through this panel.APP_ROOT, PARAM_APPENDER_NAME, PARAM_TAIL_GREP, PARAM_TAIL_NUM_OF_LINES, PATH_TAILER, RES_LOC
Constructor and Description |
---|
SlingLogPanel(LogbackManager logbackManager,
org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
void |
createLoggerConfig(LoggerConfig config) |
void |
deleteLoggerConfig(String pid) |
void |
render(PrintWriter pw,
String consoleAppRoot) |
void |
tail(PrintWriter pw,
String appenderName,
TailerOptions options) |
public SlingLogPanel(LogbackManager logbackManager, org.osgi.framework.BundleContext bundleContext)
public void tail(PrintWriter pw, String appenderName, TailerOptions options) throws IOException
tail
in interface LogPanel
IOException
public void render(PrintWriter pw, String consoleAppRoot) throws IOException
render
in interface LogPanel
IOException
public void deleteLoggerConfig(String pid)
deleteLoggerConfig
in interface LogPanel
public void createLoggerConfig(LoggerConfig config) throws IOException
createLoggerConfig
in interface LogPanel
IOException
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.