18938 Forcing stdout and stderr to the logfile

Each framework gets a logfile, and we want to make the noisier
tests write their output to their logfile rather than the system
stdout/stderr.