public void setErrorLogWriter(PrintWriter errorLogWriter) {
    this.errorLogWriter = errorLogWriter;
  }
Setter for errorLogWriter property

@param errorLogWriter
           - the new value of the errorLogWriter property
ambari-server/src/main/java/org/apache/ambari/server/orm/helpers/ScriptRunner.java