[Qgis-developer] How to log qgis server messages?
Marco Hugentobler
marco.hugentobler at sourcepole.ch
Mon Apr 30 02:29:23 EDT 2012
Hi Stefan
Logging into qgis_wms_server.log is not supported anymore. A newer
mechanism is to define the environment variable QGIS_LOG_FILE. But it
does not work for me as supposed (logging stops after entering the fcgi
loop).
Anyway, I think it needs a new log mechanism. Because
qgis_wms_server.log/QGIS_LOG_FILE only worked if compiled with debug
information. It is however also a frequent need to log fatal errors
(e.g. invalid layer) in release mode to find out why a setup is not
working as expected.
Regards,
Marco
Am 30.04.2012 08:16, schrieb Ziegler Stefan:
> Hi
>
> I'm trying to log qgis server messages. According to this thread [1] you only have to create a "qgis_wms_server.log" into the directory of the fcgi executable.
> Does it still work the same way since my log file stays empty even with Debug build type?
>
> [1]: http://lists.osgeo.org/pipermail/qgis-developer/2011-April/014055.html
>
> Regards
> Stefan
>
> Freundliche Grüsse
> Stefan Ziegler
> Leiter amtliche Vermessung
>
> Amt für Geoinformation
> Amtliche Vermessung
> Rötistrasse 4
> 4500 Solothurn
>
> Telefon +41 32 627 75 96
> Telefax +41 32 627 75 98
> stefan.ziegler at bd.so.ch
> http://www.so.ch
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
--
Dr. Marco Hugentobler
Sourcepole - Linux& Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
More information about the Qgis-developer
mailing list