Interface LogPanel
-
@ProviderType public interface LogPanel
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPP_ROOTstatic StringPARAM_APPENDER_NAMERequest param name for appender namestatic StringPARAM_TAIL_GREPRequest param capturing the regular expression to searchstatic StringPARAM_TAIL_NUM_OF_LINESRequest param name to control number of lines to include in the logstatic StringPATH_TAILERLet the path end with extension.static StringRES_LOC
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateLoggerConfig(LoggerConfig config)voiddeleteLoggerConfig(String pid)voidrender(PrintWriter pw, String consoleAppRoot)voidtail(PrintWriter pw, String appenderName, TailerOptions options)
-
-
-
Field Detail
-
PARAM_TAIL_NUM_OF_LINES
static final String PARAM_TAIL_NUM_OF_LINES
Request param name to control number of lines to include in the log- See Also:
- Constant Field Values
-
PARAM_APPENDER_NAME
static final String PARAM_APPENDER_NAME
Request param name for appender name- See Also:
- Constant Field Values
-
PARAM_TAIL_GREP
static final String PARAM_TAIL_GREP
Request param capturing the regular expression to search- See Also:
- Constant Field Values
-
PATH_TAILER
static final String PATH_TAILER
Let the path end with extension. In that case WebConsole logic would by pass this request's response completely- See Also:
- Constant Field Values
-
APP_ROOT
static final String APP_ROOT
- See Also:
- Constant Field Values
-
RES_LOC
static final String RES_LOC
- See Also:
- Constant Field Values
-
-
Method Detail
-
tail
void tail(PrintWriter pw, String appenderName, TailerOptions options) throws IOException
- Throws:
IOException
-
render
void render(PrintWriter pw, String consoleAppRoot) throws IOException
- Throws:
IOException
-
deleteLoggerConfig
void deleteLoggerConfig(String pid)
-
createLoggerConfig
void createLoggerConfig(LoggerConfig config) throws IOException
- Throws:
IOException
-
-