Schnittstelle LogPanel


@ProviderType public interface LogPanel
Interface for the Felix Web Console plugin that displays the current active log bundle configuration
  • Felddetails

    • 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
      Siehe auch:
    • PARAM_APPENDER_NAME

      static final String PARAM_APPENDER_NAME
      Request param name for appender name
      Siehe auch:
    • PARAM_TAIL_GREP

      static final String PARAM_TAIL_GREP
      Request param capturing the regular expression to search
      Siehe auch:
    • 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
      Siehe auch:
    • APP_ROOT

      static final String APP_ROOT
      The app root
      Siehe auch:
    • RES_LOC

      static final String RES_LOC
      The base location for UI resources
      Siehe auch:
  • Methodendetails

    • tail

      void tail(PrintWriter pw, String appenderName, TailerOptions options) throws IOException
      Tails the content of the given appender to the supplied print writer
      Parameter:
      pw - the print writer to render to
      appenderName - the name of the appender to tail
      options - the options for what content to include in the output
      Löst aus:
      IOException - if any failure rendering the tailed log file
    • render

      void render(PrintWriter pw, String consoleAppRoot) throws IOException
      Renders the logging configuration details to the supplied print writer
      Parameter:
      pw - the print writer to render to
      consoleAppRoot - the app root
      Löst aus:
      IOException - if any failure rendering the logging configuration
    • deleteLoggerConfig

      void deleteLoggerConfig(String pid)
      Deletes a logger configuration
      Parameter:
      pid - the pid of the configuration to delete
    • createLoggerConfig

      void createLoggerConfig(LoggerConfig config) throws IOException
      Creates a logger configuration
      Parameter:
      config - the configuration details
      Löst aus:
      IOException - if any failure applying the logger configuration