code: protected void logRequest(String method, HttpServletRequest request) {
          if (LOG.isDebugEnabled()) {
              LOG.debug("Request started\n" +
                      "   Class: " + this.getClass().getName() + "\n" +
                      "   Method: " + method + "\n" +
                      "   User id: " + Session.getSessionBean().getUserId() + "\n" +
                      "   Session id: " + Session.getSessionBean().getId() + "\n" +
                      "   Remote address: " + request.getRemoteAddr() + "\n" +
                      "   User-Agent: " + request.getHeader("User-Agent"));
          }
      }
docs: Log request
  
  @param method
  @param request