python logging handlers stdout