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

Marco Bernasocchi marco at bernawebdesign.ch
Tue Jul 2 02:57:54 PDT 2013


a bit of a workaround, but setting QGIS_LOG_FILE=/dev/null does the trick
ciao

Marco Bernasocchi (mobile)
http://opengis.ch
On Jul 2, 2013 11:54 AM, "G. Allegri" <giohappy at gmail.com> wrote:

> 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
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130702/8cd35664/attachment.html>


More information about the Qgis-developer mailing list