On mercredi 6 février 2019 19:54:29 CET Sean Gillies wrote: > Hi Nyall, > > Even will have the final word on this, but as far as I know, the > information printed when you turn on the following option > > https://trac.osgeo.org/gdal/wiki/ConfigOptions#CPL_CURL_VERBOSE > > is not capturable using the error handler from the GDAL API
Yes CPL_CURL_VERBOSE=YES output goes to stderr by default, since this is curl which handles this. But I see in https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html that we could possibly specify a callback instead of stderr so that it goes through GDAL logging mechanism. Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev