I have written this custom formatter which inherits from logging.Formatter, how can I configure logging settings so that I can use this for a logger. I see the example in docs where I can update the formatter string but dont know how to link a class to do that.class UniqueRequestIdFormatter(logging.Formatter):def format(self, record):record.message = record.msg % record.argsrecord.asctime = self.formatTime(record)format = u'%s %s %-10s %s +%s %s' % (record.levelname,record.request.META['REMOTE_ADDR'],record.request.user.id if record.request.user.id else record.request.user,record.asctime,record.request.method,record.request.path,record.message).encode('utf-8')pprint.pprint(record.__dict__)return format % record.__dict__