1. How to redirect stdout and stderr to logger in Python

    How to redirect stdout and stderr to logger in Python