Implement STDOUT/STDERR redirection.

These streams now redirect to log4j2, with form '[class:method:line]: Original message'.