worth doing log.debug of input/stdout and input.stderr?