SQL Server – How to Stop Logging Messages in Error Log

sql server

How do i stop logging unwanted messages in SQL error logs, I enabled DBCC TRACEON (3226,-1) to avoid logging successful backups, likewise is there any other trace flags or any message id's to disable in msdb.dbo.sp_altermessage to stop them
Below is the example of unwanted messages i want to stop logging
enter image description here
Thanks in Advance

Best Answer

How do i stop logging unwanted messages in SQL error logs […] likewise is there any other trace flags […]

No, there are no trace flags to turn this logging off.

If you'd like to give some feedback on making a trace flag or have this disabled by default, put in a suggestion on User Voice with this specific example :)