Posted: 8 Apr 2019 14:47 EDT Last activity: 22 Aug 2019 7:27 EDT
How to stop OOTB/default Log message
We have a requirement not to creating duplicate objects (instances of custom Data Class). To implement this we have created a constraint at the DB level for the particular column. So, when system (via agent) is trying to create a duplicate object (or in other words - inserting a duplicate row in the DB table), we are getting a Unique Constraint Error from DB. This is very well expected and working fine.
The point is - we have a huge log file full of this kind of errors. We know this is our design but wanted to know if by any ways we can stop this logging.