Code

When debugging mail (debug = <filename> setting in [mail] section of
[roundup.git] / doc / debugging.txt
1 Debugging Aids
2 --------------
4 Try turning on logging of DEBUG level messages. This may be done a number
5 of ways, depending on what it is you're testing:
7 1. If you're testing the database unit tests, then set the environment
8    variable ``LOGGING_LEVEL=DEBUG``. This may be done like so:
10     LOGGING_LEVEL=DEBUG python run_tests.py
12    This variable replaces the older HYPERDBDEBUG environment var.
14 2. If you're testing a particular tracker, then set the logging level in
15    your tracker's ``config.ini``.
17 SENDMAILDEBUG
18 =============
20 Set to a filename and roundup will write each email message
21 that it sends to that file instead to the internet. 
22 This environment variable is independent of the python -O flag.