makes stderr and stdout loggable. from http://blogs.sun.com/nickstephen/entry/java_redirecting_system_out_and An OutputStream that writes contents to a Logger upon each call to flush()
Constructor
upon flush() write the existing contents of the OutputStream to the logger as a log record.