Hi,
Please check:
Viewing SQL Server Audit Logs
How to analyze and read SQL Server Audit information
===============================================
If the response helped, do "Accept Answer" and upvote it.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
Is there a way to check the active audit level setting on a SQL Server since it can be changed multiple times without restarting the service.
This is Login Auditing in Server Properties. Via GUI or reading the registry tells me what is set but not what is active.
thanks
Hi,
Please check:
Viewing SQL Server Audit Logs
How to analyze and read SQL Server Audit information
===============================================
If the response helped, do "Accept Answer" and upvote it.
Hi,
Thanks for your reply. Sorry for my misunderstanding.
I tested this ,It is true that the changes made to this setting in the GUI or registry will not work before the SQL Server services restart. The login information recorded in the Errorlog is still based on the settings at this startup.(And the 1 = Successful Logins Only.)
The active setting --- Maybe it can be judged from Errorlog .
The setting for login auditing is actually a registry entry and SQL Server only reads this setting when the SQL Server service starts up
===============================================
If the response helped, do "Accept Answer" and upvote it.
Hi,
Thanks for the response.
If it can only be judged from the ErrorLog, maybe a possible future feature request for this functionality?