in reply to Re^6: Overloading print()in thread Overloading print()
You need to 'redirect' the underlying file descriptor, not point the filehandle STDOUT somewhere else.
Supersearch for responses from tye to STDOUT redirection questions.