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
Hi Marco, we replied at the same time :)
I forgot to say that I'm on Windows so no /dev/null there... NUL makes
python crash.
Abnyway, even with -1000 there's an annoying issue. I always have to click
the down arrow on the keyboard to show the prompt, otherwise the
interpreter remains blinking aft
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" wrote:
> I'm writing some "headless" Python scripts which use the QGIS API for data
> management.
> QgsLogger prints debug messages ev
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
> 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
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