it would be nice to log also content of message, maybe it contain what is wrong argument and maybe also if invalid is session or site ip