Debugging Web apps

It has been a while since I've done any web application development, but this week I have begun trying to master Django. I have hit an interesting situation along the way: I wrote a query that I think ought to return some records, but does not. In order to understand what is going on, I tried to set up Django logging and log some relevant values at that point in the program. But the logging itself is failing, and failing silently: no log file appears, but neither do any error messages in the pre-existing web server error log. So how does one debug one's silently failing debugging tool?

Any ideas?

No comments:

Post a Comment