private void logRequestInfo(String msg, ServiceComponentHostRequest request) {
    LOG.info("{}, clusterName={}, serviceName={}, componentName={}, hostname={}, request={}",
        msg,
        request.getClusterName(),
        request.getServiceName(),
        request.getComponentName(),
        request.getHostname(),
        request);
  }
Logs request info.

@param msg      base log msg
@param request  the request to log
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java