Sample Header Ad - 728x90

How can I prevent SQL Server from logging the starting and stopping of XE sessions to the server log files?

4 votes
1 answer
959 views
I have a process which starts and stops Extended Event sessions in order to transfer data from event files into SQL tables. On a SQL Server 2022 RTM server, I see many lines written to the log files by this process: enter image description here I would like the starting and stopping of XE sessions to not be written to the log file because my log files are now overwhelmingly filled with these entries. This behavior does not occur on a Microsoft SQL Server 2019 (RTM-CU22-GDR) instance. How can I prevent SQL Server from logging the starting and stopping of XE sessions to the server log files?
Asked by Joe Obbish (32976 rep)
Mar 12, 2024, 07:53 PM
Last activity: Aug 28, 2024, 05:15 PM