Redirect stdout/stderr through the logging system.
This change also causes the uncaptured output of subprocesses to
be routed to the logging system for recording in the session
transcript.
<html><head><title>We ran out of memory</title></head><body>We ran out of memory while serving your request, please try again.</body></html>