def process(self, msg, kwargs):
        """Process the logging message and keyword arguments passed in to
        a logging call to insert contextual information.

        :param str msg: The message to process
        :param dict kwargs: The kwargs to append
        :rtype: (str, dict)

        """
        kwargs['extra'] = {
            'correlation_id': self.parent.correlation_id,
            'parent': self.parent.name
        }
        return msg, kwargs