python logging redirect to stdout