Solved
In your OnLogError event handler, add the following line
LogParams.Locked = true;
This will suppress the logging of the error itself. All other errors will log, but this one will simply just not log anymore.
Thanks, it works!
I should have seen it in the help,I missed it sorry!