it logs a message every time it *tries* to cast a spell via the event system . that doesn't mean the spell necessarily worked though, for example sometimes if you are spamming a different spell it will override the profile.
you can comment out the print(xxx) lines if you find it annoying, but sometimes it's useful to look back and see what happened, while you are getting used to the profile.