more tweaks to django logging, refs #243