<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi,<div><br></div><div>Thanks Alessandro,  this is working now. I was trying only with SetEnv. I also had to set QGIS_SERVER_LOG_LEVEL, otherwise the file was empty. So this is my setting now which is working (Apache+Fcgid):</div>


<div><br></div><div><div>FcgidInitialEnv QGIS_SERVER_LOG_FILE /var/tmp/qgislog.txt</div><div>FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0</div></div><div><br></div><div>LogLevel 0 means that everything is logged, for debugging only.</div>


<div><br></div><div>Is someone working on documentation? This could be included for others.</div><div><br></div><div>regards,</div><div>Uros</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-27 8:46 GMT+02:00 Alessandro Pasotti <span dir="ltr"><<a href="mailto:apasotti@gmail.com" target="_blank">apasotti@gmail.com</a>></span>:<div>

<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2014-08-26 23:19 GMT+02:00 Uros Preloznik <<a href="mailto:uros00@gmail.com" target="_blank">uros00@gmail.com</a>>:<br>


<div><div>> Hi,<br>
><br>
> I know this was already discused, but I still cannot enable logging for qgis<br>
> server. My configuration is this:<br>
><br>
> -Ubuntu 12.04<br>
> -Apache 2.22<br>
> -Qgis 2.4 (standard install)<br>
><br>
> I added this line to apache configuration:<br>
><br>
> SetEnv QGIS_SERVER_LOG_FILE /var/log/qgislog.txt<br>
><br>
> Nothing happens, I also manualy created empty file and set chown as wwwdata,<br>
> but still nothing is logged.<br>
><br>
> Am i missing something? Any ideas?<br>
<br>
<br>
</div></div>If you are on apache and mod_fcgid you'd better try with<br>
<br>
<a href="http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidinitialenv" target="_blank">http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidinitialenv</a><br>
<span><font color="#888888"><br>
<br>
--<br>
Alessandro Pasotti<br>
w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a><br>
</font></span></blockquote></div></div></div><br></div>
</div><br></div>