Unlike regular {@link FileOutputStream}, this implementation allows the caller to close, and then keep writing. @author Kohsuke Kawaguchi
112113114115116117118119
private Object constructed = new Object(); public SlaveComputer(Slave slave) { super(slave); this.log = new ReopenableFileOutputStream(getLogFile()); this.taskListener = new StreamTaskListener(log); }