Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-04 Thread Antonio Viscomi via QGIS-User
Great! Il gio 4 mag 2023, 14:33 celati Laurent ha scritto: > Thanks a lot. It 's works well now. > > Le jeu. 4 mai 2023 à 11:37, Etienne Trimaille a > écrit : > >> According to the QGIS documentation : >> https://docs.qgis.org/3.28/en/docs/server_manual/config.html#environment-variables >> >>

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-04 Thread celati Laurent via QGIS-User
Thanks a lot. It 's works well now. Le jeu. 4 mai 2023 à 11:37, Etienne Trimaille a écrit : > According to the QGIS documentation : > https://docs.qgis.org/3.28/en/docs/server_manual/config.html#environment-variables > > QGIS_SERVER_LOG_FILE is deprecated and will be removed, in favor of >

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-04 Thread Antonio Viscomi via QGIS-User
if you have none response from previous url, please check your apache virtual host is setted like this: *ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride NoneOptions +ExecCGI -MultiViews -SymLinksIfOwnerMatch Require all granted FcgidMaxRequestLen 26214400

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-04 Thread Antonio Viscomi via QGIS-User
Hi Laurent, If you go to http://YOURhost/cgi-bin/qgis_mapserv.fcgi It's qgis server active? Il gio 4 mag 2023, 10:36 celati Laurent ha scritto: > Hi, > Thanks and sorry to disturb you again. I tried to create manually the file > qgislog.log in /var/log/qgis. > Then i set chown www-data

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-04 Thread celati Laurent via QGIS-User
Hi, Thanks and sorry to disturb you again. I tried to create manually the file qgislog.log in /var/log/qgis. Then i set chown www-data /var/log/qgis/qgislog.log and sudo chmod 775 /var/log/qgis/qgislog.log I reloaded and restarted apache. But the file qgislog.log is and remains empty. I don't know

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-03 Thread Etienne Trimaille via QGIS-User
Hi, It's still possible to use QGIS_SERVER_LOG_FILE, but it's deprecated, you can see it in the documentation https://docs.qgis.org/3.28/en/docs/server_manual/config.html#environment-variables QGIS_SERVER_LOG_STDERR will send logs to stderr. Le mer. 3 mai 2023 à 23:53, Antonio Viscomi via

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-03 Thread Antonio Viscomi via QGIS-User
Laurent, Please, try to create the file 'qgislog.log' manually first If doesn't works I don't know why Il mer 3 mag 2023, 18:18 celati Laurent ha scritto: > Hello, > Thanks. As you advice, i set FcgidInitialEnv QGIS_SERVER_LOG_FILE > /var/log/qgis/qgislog.log > Then i set chown www-data

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-03 Thread celati Laurent via QGIS-User
Hello, Thanks. As you advice, i set FcgidInitialEnv QGIS_SERVER_LOG_FILE /var/log/qgis/qgislog.log Then i set chown www-data /var/log/qgis and sudo chmod 775 /var/log/qgis Then a2ensite XXX.XXX.fr Then i have reload apache systemctl reload apache2 But still no qgislog file has been created. Le

[Qgis-user] Qgis server : problem with qgis server logs

2023-05-03 Thread celati Laurent via QGIS-User
Good afternoon, I work with Debian, Apache. Qgis server 3.30. And lizmap. The lizmap log deals with a problem regarding my qgis server logs. In the /etc/apache2/sites-available i have created a file XXX.XXX.conf with ths part of content : # QGIS log FcgidInitialEnv QGIS_SERVER_LOG_STDERR 1