[QGIS-Developer] QgsLogger in standalone app

VOLPES-EXT, Jacky Jacky.VOLPES-EXT at canal-de-provence.com
Wed Oct 16 00:38:12 PDT 2019


Hi,
Is it possible to get the output of QgsLogger from a pyqgis standalone app ?

I would like to have the warnings and everything sent by QgsLogger in my console while running the app, but when I set the environment variable QGIS_DEBUG to 1, 2, or 3 nothing is printed on the console, although I'm sure that a message should be printed (a layer form not found).

If I instanciate a QgsLogger in my pyqgis app it works, but I want to see messages from QgisApplication logger (C++).

Thanks,
BR

Jacky Volpes
HR Team pour la Société du Canal de Provence | 2SI - QGIS
Le Tholonet, CS70064
jacky.volpes-ext at canal-de-provence.com<mailto:jacky.volpes-ext at canal-de-provence.com>

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


More information about the QGIS-Developer mailing list