[12412] Improve debug log output for learning/unlearning spells/skills. Thanks to NeatElves for pointing