python logging streamhandler stdout