int128/groovy-ssh — pull request #6 by int128 (2014-10-21 11:01:54+00:00)
Title: Fix behavior of stream settings regardless of logging

This pull request fixes behavior of `outputStream` and `errorStream` settings. They are intended for forwarding the stream to a file, not for logging. So they should work even if `logging` is set to false.

Following example saves the kernel log. This should work regardless of logging.

```groovy
ssh.run {
session(ssh.remotes.localhost) {
new File('dmesg.log').withOutputStream { stream ->
execute `dmesg`, outputStream: stream
}
}
}
```