I am trying to get my build of QGIS to output the debug messages from calls to QgsDebugMsg. Here's what I have so far:
I've built QGIS configured as RelWithDebugInfo and in the application's Help > About > About
window, I see the text: "This copy of QGIS writes debugging output."
In the application's Options > System > Environment Variables
window, I've set the environment variables: QGIS_DEBUG = 9
and QGIS_LOG_FILE = C:\Users\USER\Documents\QGIS\log.txt
However, the log file isn't getting created at all. What am I missing?