Class AbstractRequestLogger

  • All Implemented Interfaces:
    IRequestLogger
    Direct Known Subclasses:
    JsonRequestLogger, RequestLogger

    public abstract class AbstractRequestLogger
    extends Object
    implements IRequestLogger
    Base class that collects request and session information for request logging to enable rich information about the events that transpired during a single request. Typical HTTPD and/or Servlet container log files are unusable for determining what happened in the application since they contain the requested URLs of the form http://example.com/app?wicket:interface:0:0:0, which doesn't convey any useful information. Requestloggers can show which page was the target of the request, and which page was rendered as a response, and anything else: resources, Ajax request, etc.

    The information in the log files can take any format, depending on the request logger implementation: currently Wicket supports two formats: a legacy, log4j compatible format, and a JsonRequestLogger JSON format.