[Qgis-developer] QgisLogger can be a serious bottleneck

G. Allegri giohappy at gmail.com
Sat Jul 5 01:27:24 PDT 2014


As I reported in a previous post, I was unable to conclude a difference
operation on a vector because the tool was running in exponential time.

Debugging pointed me to the problem: QgsVectoFileWriter was logging tons of
empty geometres with an incompatible type which will be discarded.
After commenting the line of logging the process completed in linear time.

Shouldn't we offer the opportunity to turn QgsLogger off? This would let
the user/developer to switch it off whenever he already knows what's
happening.
Is it already there and I missed it?

giovanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140705/a7ac1375/attachment.html>


More information about the Qgis-developer mailing list