<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I tried to use this environnement variable as well, but I cannot set the log file as /var/log/apache2/QGIS_Server.log , even if I chmod and chown it to give Apache full rights :<br>
<br>ls -lh /var/log/apache2/QGIS_Server.log<br>-rwxrwxrwx 1 www-data www-data 0 août  29 15:49 /var/log/apache2/QGIS_Server.log<br><br></div>If I set the file to /tmp/QGIS_Server.log with<br>FcgidInitialEnv QGIS_SERVER_LOG_FILE "/tmp/QGIS_Server.log"<br>
<br></div>then it works correctly and the log file is filled with data.<br><br></div>Any hint ?<br></div>Michael<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-28 15:47 GMT+02:00 Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Il 28/08/2014 12:47, Uros Preloznik ha scritto:<br>
<div class="">> Hi,<br>
><br>
> Thanks Alessandro,  this is working now. I was trying only with SetEnv. I also had to<br>
> set QGIS_SERVER_LOG_LEVEL, otherwise the file was empty. So this is my setting now<br>
> which is working (Apache+Fcgid):<br>
><br>
> FcgidInitialEnv QGIS_SERVER_LOG_FILE /var/tmp/qgislog.txt<br>
> FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0<br>
><br>
> LogLevel 0 means that everything is logged, for debugging only.<br>
><br>
> Is someone working on documentation? This could be included for others.<br>
<br>
</div>Hi Uros,<br>
would you mind making a pull request on<br>
<a href="https://github.com/qgis/QGIS-Documentation" target="_blank">https://github.com/qgis/QGIS-Documentation</a><br>
Thanks.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Paolo Cavallini - <a href="http://www.faunalia.eu" target="_blank">www.faunalia.eu</a><br>
Corsi QGIS e PostGIS: <a href="http://www.faunalia.eu/training.html" target="_blank">http://www.faunalia.eu/training.html</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div></div></blockquote></div><br></div>