be more gentle when redirecting stdout and stderr to make passenger 4 happy - refs #28
added test to check existence and content of input.log after generating
Merge pull request #30 from kupinus/master

Work around STDOUT.reopen not working with passenger 4