When I pass a URL to the GIS constructor, I'm getting a lot of DEBUG logging that I'd like to reduce:
gis = GIS(url, username, password)
Bunches of lines similar to this:
022-08-13 10:16:34,561 DEBUG : Starting new HTTPS connection (1): <url>
Normally, I would control this by setting the logging level for the imported library:
logging.getLogger('arcgis').setLevel(logging.ERROR)
I suspect that this is coming from an underlying HTTP or fetch module imported into the arcgis module.
Any suggestions?
Solved! Go to Solution.