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 LogPanelIOExceptionpublic void render(PrintWriter pw, String consoleAppRoot) throws IOException
render in interface LogPanelIOExceptionpublic void deleteLoggerConfig(String pid)
deleteLoggerConfig in interface LogPanelpublic void createLoggerConfig(LoggerConfig config) throws IOException
createLoggerConfig in interface LogPanelIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.