Schnittstelle LogPanel
@ProviderType
public interface LogPanel
Interface for the Felix Web Console plugin that displays the
current active log bundle configuration
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
The app rootstatic final String
Request param name for appender namestatic final String
Request param capturing the regular expression to searchstatic final String
Request param name to control number of lines to include in the logstatic final String
Let the path end with extension.static final String
The base location for UI resources -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
createLoggerConfig
(LoggerConfig config) Creates a logger configurationvoid
deleteLoggerConfig
(String pid) Deletes a logger configurationvoid
render
(PrintWriter pw, String consoleAppRoot) Renders the logging configuration details to the supplied print writervoid
tail
(PrintWriter pw, String appenderName, TailerOptions options) Tails the content of the given appender to the supplied print writer
-
Felddetails
-
PARAM_TAIL_NUM_OF_LINES
Request param name to control number of lines to include in the log- Siehe auch:
-
PARAM_APPENDER_NAME
Request param name for appender name- Siehe auch:
-
PARAM_TAIL_GREP
Request param capturing the regular expression to search- Siehe auch:
-
PATH_TAILER
Let the path end with extension. In that case WebConsole logic would by pass this request's response completely- Siehe auch:
-
APP_ROOT
The app root- Siehe auch:
-
RES_LOC
The base location for UI resources- Siehe auch:
-
-
Methodendetails
-
tail
Tails the content of the given appender to the supplied print writer- Parameter:
pw
- the print writer to render toappenderName
- the name of the appender to tailoptions
- the options for what content to include in the output- Löst aus:
IOException
- if any failure rendering the tailed log file
-
render
Renders the logging configuration details to the supplied print writer- Parameter:
pw
- the print writer to render toconsoleAppRoot
- the app root- Löst aus:
IOException
- if any failure rendering the logging configuration
-
deleteLoggerConfig
Deletes a logger configuration- Parameter:
pid
- the pid of the configuration to delete
-
createLoggerConfig
Creates a logger configuration- Parameter:
config
- the configuration details- Löst aus:
IOException
- if any failure applying the logger configuration
-