Class HandlerConfigurationHelper

java.lang.Object
org.glassfish.main.jul.cfg.ConfigurationHelper
org.glassfish.main.jul.handler.HandlerConfigurationHelper

public class HandlerConfigurationHelper extends ConfigurationHelper
This is a tool to help with parsing the logging.properties file to configure handlers.

It respects JUL configuration standards, so ie. each formatter knows best how to configure itself, but still can use this helper to parse properties directly to objects instead of plain strings. Helper also supports custom error handlers.

Author:
David Matejcek
  • Field Details

    • FORMATTER

      public static final LogProperty FORMATTER
      Handler's property for formatter
    • FILTER

      public static final LogProperty FILTER
      Handler's property for filter
  • Constructor Details

    • HandlerConfigurationHelper

      public HandlerConfigurationHelper(HandlerId handlerId)
      Creates a helper based on HandlerId
      Parameters:
      handlerId -
  • Method Details