Update to latest security patch of django 1.4 and cleanup logging.