public void setLogWriter(PrintWriter logWriter) {
    this.logWriter = logWriter;
  }
Setter for logWriter property

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