def filter(self, record):
        try:
            namespace, id = context_id()
            record.context_id = ':'.join((namespace, id[:6]))
        except __HOLE__:
            record.context_id = '<nocontext>'
        return True
dataset/ETHPy150Open fusic-com/flask-todo/config/log.py/ContextFilter.filter