code: public void startLogging(RequestLogger logger) {
      ResourceServices services = getServices();
      if (services != null)
        services.startLogging(logger);
    }
docs: Starts debugging client requests. You can suspend and resume debugging output
  using the methods of the logger.
  
  @param logger	the logger that receives debugging output