I didn't realise that Python2.6's ```logging``` module doesn't have a ```captureWarnings```, but you're right. :)