Hi and welcome to Arturia forums.
Keylab MK2s pads send out midi notes, and it's mapping is stored in Keylabs own environment.
Spark2 recieve on midi notes, and that mapping is stored in Spark2s own environment.
What have Logic to do with that? Does Logic have a internal mapping for midi notes between 2 instruments? If so, then what have Arturia products to do with that?
I'm not sure, what it is, you wan't Logic to save and how. Can you please elaborate?