Audit Log user -2

Just noticed that the all the changes that are logged within the audit log are showing as logged by user -2.
Any ideas why? looks like this started when i moved to 2025 and was ok in 2024
using v2025.6

That -2 value means user with Anonymous user level.

When you said that was ok in 2024, what did you see instead of -2?

the persons name
100% have a user level set on the usersprofile
any ideas who to check?

You might need to disable Log user id instead of user name option under ToolsAdvanced Settings, then re-generate ALL the script files, and try again.

yes this has add the logs back to username. ideally wanted the userid. any reason for not working?
many thanks