[Qgis-developer] how to disable QGIS debug messages inside python terminal interpreter?

G. Allegri giohappy at gmail.com
Tue Jul 2 02:58:02 PDT 2013


I've found a workaround right now. Setting QGIS_DEBUG to -1000 makes
QgsLogger stopping all the messages (default to -999).


2013/7/2 G. Allegri <giohappy at gmail.com>

> I'm writing some "headless" Python scripts which use the QGIS API for data
> management.
> QgsLogger prints debug messages even if QGIS_DEBUG env var is set to 0.
> How can I disble it?
>
> Giovanni
>
> --
> Giovanni Allegri
> http://about.me/giovanniallegri
> blog: http://blog.spaziogis.it
> GEO+ geomatica in Italia http://bit.ly/GEOplus
>



-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130702/f36930cd/attachment.html>


More information about the Qgis-developer mailing list