Hi Gino!

I can also use standard python logging appending to the qgis log file
and it works fine, anyway the problem is partially solved, you have to
use QGIS_SERVER_LOG_FILE env var instead of QGIS_LOG_FILE.

I'm still convinced that logging should be enabled by default and
should write to stderr and hence go into the web server error log but
I can live with a custom configurable file.



2015-03-05 11:33 GMT+01:00 Luigi Pirelli <[email protected]>:
> On 4 March 2015 at 21:38, Alessandro Pasotti <[email protected]> wrote:
>> QgsMessageLog
>
> http://osgeo-org.1560.x6.nabble.com/how-to-get-debugging-messages-td4471936.html
>
> QgsMessageLog is a QgsDebugMsg wrapper emitting signal (most of them
> intercepted by QGIS log message panel)
>
> QgsDebugMsg (is a define on QgsLogger) write messages only if compiled in 
> Debug
>
> regards, Luigi Pirelli
>
> p.s. avoiding debugging, you can create a new QGIS server plugin that
> intercept QgsMessageLog signal to log them ;)



-- 
Alessandro Pasotti
w3:   www.itopen.it
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to