python logging stdout handler