python logging remove stdout handler