I wrote a script to help find places in th source that call a logger function to add something to the debug log without first testing wether we are in debug mode. It may well produce some false positives. And I'm shure it missed some (mainly because I have not been able to get CVS in days.) I don't post it yet, because it still requires some manual intervention. However attached is the context of what it found.
Debug.gz
Description: GNU Zip compressed data
