setlevel() in the logging module for python2.6 requires an integer and silently fails if passed a string.