In windows/osgeo4w the 'nightly builds' (with -dev- in there package names) are 
build in DEBUG mode if I am correct...

so these should show you logging info, but I think you also need to install a 
tool to SEE that logging. I know there was some utility for it. Not sure if you 
can see it in the Event Log of WIndows...
Juergen posted some answers in the old issue tracker, but cannot find it...

Ah wait: from historical docs: 
https://issues.qgis.org/projects/qgis/wiki/Bugreports
use:
https://learn.microsoft.com/en-us/sysinternals/downloads/debugview
(but maybe Windows can do that now without tools...)

Regards,

Richard Duivenvoorde

On 6/20/23 16:38, Alessandro Pasotti via QGIS-Developer wrote:
QGIS_DEBUG=X has no effect if QGIS was not built in debug mode.


On Tue, Jun 20, 2023 at 4:18 PM Vedran Stojnović via QGIS-Developer
<[email protected]> wrote:

Hi,

I just installed QGIS 3.30.3 via web installer ("qgis-full" version) and QGIS won't start 
at all, nor does throw any error when I start it from PowerShell by executing 
"qgis-bin.exe".
I tried reinstalling a few times using different servers (default one and 
norbit.de) and I also cleaned the cache folder before changing the server.

I already tried adding these two lines to "qgis-bin.env" and I created 
"qgislog.txt" on the desktop, but I still do not get any output to the command line and 
txt file is empty after trying to start qgis:
QGIS_DEBUG=9
QGIS_LOG_FILE=C:\Users\phidr\Desktop\qgislog.txt

so the current contents of "qgis-bin.env" is:
PATH=C:\OSGeo4W\apps\qgis\bin;C:\OSGeo4W\apps\grass\grass82\lib;C:\OSGeo4W\apps\grass\grass82\bin;C:\OSGeo4W\apps\qt5\bin;C:\OSGeo4W\apps\Python39\Scripts;C:\OSGeo4W\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBem
GDAL_DATA=C:\OSGeo4W\apps\gdal\share\gdal
GDAL_DRIVER_PATH=C:\OSGeo4W\apps\gdal\lib\gdalplugins
GDAL_FILENAME_IS_UTF8=YES
PDAL_DRIVER_PATH=C:\OSGeo4W\apps\pdal\plugins
GISBASE=C:\OSGeo4W\apps\grass\grass82
GRASS_PROJSHARE=C:\OSGeo4W\share\proj
GRASS_PYTHON=C:\OSGeo4W\bin\python3.exe
OSGEO4W_ROOT=C:\OSGeo4W
PROJ_LIB=C:\OSGeo4W\share\proj
PYTHONHOME=C:\OSGeo4W\apps\Python39
PYTHONPATH=C:\OSGeo4W\apps\grass\grass82\etc\python;
PYTHONUTF8=1
QGIS_PREFIX_PATH=C:/OSGeo4W/apps/qgis
QT_PLUGIN_PATH=C:\OSGeo4W\apps\qgis\qtplugins;C:\OSGeo4W\apps\qt5\plugins
VSI_CACHE=TRUE
VSI_CACHE_SIZE=1000000
O4W_QT_PREFIX=C:/OSGeo4W/apps/Qt5
O4W_QT_BINARIES=C:/OSGeo4W/apps/Qt5/bin
O4W_QT_PLUGINS=C:/OSGeo4W/apps/Qt5/plugins
O4W_QT_LIBRARIES=C:/OSGeo4W/apps/Qt5/lib
O4W_QT_TRANSLATIONS=C:/OSGeo4W/apps/Qt5/translations
O4W_QT_HEADERS=C:/OSGeo4W/apps/Qt5/include
QGIS_WIN_APP_NAME=OSGeo4W\QGIS Desktop 3.30.3
SSL_CERT_DIR=C:\OSGeo4W\apps\openssl\certs
SSL_CERT_FILE=C:\OSGeo4W\bin\curl-ca-bundle.crt
QGIS_DEBUG=9
QGIS_LOG_FILE=C:\Users\phidr\Desktop\qgislog.txt

--
Kind regards,
Vedran Stojnović.
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer




_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to