On Fri, Jan 18, 2019 at 12:10 PM Richard Duivenvoorde <[email protected]> wrote:
> Hi Devs, > > I'm doing a simple small proof of concept of a minimal plugin which > connects to the QgsNetworkAccesManager.instance()'s signals to log the > requests that are fired and show them in de message panel. > > https://github.com/rduivenvoorde/qgisnetworklogger > > This is going fine for wms and wfs requests or python stuff which uses > the same instance. > > But other parts of QGIS apparently use another instances? > Or can there another reason I do not connect to their signals? > > Eg for a WMS I see the GetCapabilities en GetLegendGraphic, but not the > actual WMS requests, while you can see them in the debug messages if you > have debug enabled. > > Same with WFS and WMTS tile requests. > I didn't look at the code but maybe it's because the NAM instance is per-thread and WMS/WFS downloaders run within threads. -- Alessandro Pasotti w3: www.itopen.it
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
