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

Jürgen E. Fischer jef at norbit.de
Tue Jul 2 03:00:06 PDT 2013


Hi Giovanni,

On Tue, 02. Jul 2013 at 11:53:59 +0200, G. Allegri 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?

Try setting QGIS_DEBUG to -1.

Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-31
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de
committ(ed|ing) to QGIS                                IRC: jef on FreeNode                         

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list