python redirect logging to stdout