Re: [Qgis-user] QGIS Server Log Stderr

2021-07-07 Thread pathmapper
Hi Thomas, You received the STDERR log on Ubuntu not Windows, right? Yes, that's right. I'm having ErrorLog ${APACHE_LOG_DIR}/error.log set also in my QGIS server vHost.conf not in my httpd.conf. Does this makes a difference to you? Otherwise I would also I stick with QGIS_SERVER_LOG_FILE

Re: [Qgis-user] QGIS Server Log Stderr

2021-07-06 Thread Thomas Schüttenberg
Hi Björn, thanks for investigating, but no, I still don't get this. With ErrorLog "${STACK}/logs/error.log" in httpd.conf (plus LogLevel info to make sure there will be something to log) and FcgidInitialEnv QGIS_SERVER_LOG_STDERR 1 plus FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0 in the QGIS server

Re: [Qgis-user] QGIS Server Log Stderr

2021-07-04 Thread pathmapper
Hmm, with QGIS_SERVER_LOG_STDERR 1 it works as long as I use the standard ErrorLog ${APACHE_LOG_DIR}/error.log But if I change it to ErrorLog ${APACHE_LOG_DIR}/qgisserver.log a file ${APACHE_LOG_DIR}/qgisserver.log is created but the QGIS server logs are still saved in

Re: [Qgis-user] QGIS Server Log Stderr

2021-07-02 Thread thomas
Hi Björn, Am 02.07.21 um 10:58 schrieb pathmapper: Hi Thomas, is QGIS_SERVER_LOG_FILE still set in your conf? Asking because QGIS_SERVER_LOG_STDERR has no effect when QGIS_SERVER_LOG_FILE is set. Maybe doublecheck that you restarted Apache after these changes :) Sure, quadruple checked

Re: [Qgis-user] QGIS Server Log Stderr

2021-07-02 Thread pathmapper
Hi Thomas, is QGIS_SERVER_LOG_FILE still set in your conf? Asking because QGIS_SERVER_LOG_STDERR has no effect when QGIS_SERVER_LOG_FILE is set. Maybe doublecheck that you restarted Apache after these changes :) With QGIS server 3.18.1 on Ubuntu LTR it's working as expected. Cheers, Bjoern

[Qgis-user] QGIS Server Log Stderr

2021-07-01 Thread Thomas Schüttenberg
Hi there! Because file logging support with QGIS_SERVER_LOG_FILE is deprecated since QGIS 3.4. I just tried to switch to QGIS_SERVER_LOG_STDERR 1 as described in the manual[1]. Nevertheless the standard error log file I defined in my Apache configuration stays silent (Loglevel 0). So either I