@Override
    protected void buildAuditMessage(StringBuilder builder) {
      super.buildAuditMessage(builder);
      builder
        .append(", Operation(")
        .append(this.operation);

      if (details != null) {
        builder.append("), Details(")
          .append(this.details);
      }

      builder.append("), Status(")
        .append(this.status)
        .append("), RequestId(")
        .append(this.requestId)
        .append("), TaskId(")
        .append(this.taskId)
        .append("), Hostname(")
        .append(this.hostName)
        .append(")");
    }
Builds and audit log message based on the member variables

@param builder builder for the audit event details.
ambari-server/src/main/java/org/apache/ambari/server/audit/event/TaskStatusAuditEvent.java