Class BasicCallLogger

java.lang.Object
org.apache.juneau.rest.logger.CallLogger
org.apache.juneau.rest.logger.BasicCallLogger

public class BasicCallLogger extends CallLogger
Basic implementation of a call logger.
Configured Settings:
  • Logs to the context logger.
  • Only calls with status code >=400 will be logged.
  • Logs full request and response entity.
See Also:
  • Constructor Details

    • BasicCallLogger

      public BasicCallLogger(BeanStore beanStore)
      Constructor using specific settings.
      Parameters:
      beanStore - The bean store containing injectable beans for this logger.
    • BasicCallLogger

      public BasicCallLogger()
      Constructor using default settings.

      Uses the same settings as CallLogger.

  • Method Details

    • init

      protected CallLogger.Builder init(BeanStore beanStore)
      Description copied from class: CallLogger
      Initializer.

      Subclasses should override this method to make modifications to the builder used to create this logger.

      Overrides:
      init in class CallLogger
      Parameters:
      beanStore - The bean store containing injectable beans for this logger.
      Returns:
      A new builder object.