Adding contextual data to Python logging