Re: [QGIS-Developer] QgsLogger in standalone app

2019-10-16 Thread David Marteau
Yes, you have to connect a hook to the messageReceived slot: see https://github.com/3liz/py-qgis-server/blob/master/pyqgisserver/utils/qgis.py#L106 for an example. > Le 16 oct. 2019 à 09:38, VOLPES-EXT,

[QGIS-Developer] QgsLogger in standalone app

2019-10-16 Thread VOLPES-EXT, Jacky
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