Default Trace Log Files Disabled

APPLIES TO: YesSQL Server NoAzure SQL Database NoAzure Synapse Analytics (SQL DW) NoParallel Data Warehouse

This rule checks the value of the sp_configure stored procedure default trace enabled option to determine whether default trace is set ON (1) or OFF (0). When this option is enabled, default tracing provides information about configuration and DDL changes to the SQL Server Database Engine. In some cases, this information can be helpful for customers and Microsoft Customer Service and Support when they troubleshooting issues with the Database Engine.

Best Practices Recommendations

Use the sp_configure stored procedure to enable tracing by setting the value of default trace enabled to 1.

For More Information

Server Configuration Options (SQL Server)

See Also

Monitor and Enforce Best Practices by Using Policy-Based Management