Hi, 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):
FcgidInitialEnv QGIS_SERVER_LOG_FILE /var/tmp/qgislog.txt FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0 LogLevel 0 means that everything is logged, for debugging only. Is someone working on documentation? This could be included for others. regards, Uros 2014-08-27 8:46 GMT+02:00 Alessandro Pasotti <[email protected]>: 2014-08-26 23:19 GMT+02:00 Uros Preloznik <[email protected]>: > > Hi, > > > > I know this was already discused, but I still cannot enable logging for > qgis > > server. My configuration is this: > > > > -Ubuntu 12.04 > > -Apache 2.22 > > -Qgis 2.4 (standard install) > > > > I added this line to apache configuration: > > > > SetEnv QGIS_SERVER_LOG_FILE /var/log/qgislog.txt > > > > Nothing happens, I also manualy created empty file and set chown as > wwwdata, > > but still nothing is logged. > > > > Am i missing something? Any ideas? > > > If you are on apache and mod_fcgid you'd better try with > > http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidinitialenv > > > -- > Alessandro Pasotti > w3: www.itopen.it >
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
