Download Free SQL Server Error Log Scripts

The SQL Server Error Log Scripts include:

  • Quickly find errors and all associated error lines
  • Quickly find location of where error log file is written
  • How to stop logging successful backup messages to error log
  • How to cycle the error log to archive old and create empty log file
  • Searching for text in error log files
  • Finding errors and warnings in log file and default trace
  • and more

(error log scripts last revision: 2019-07-02)

Keep checking this page for new script file collections and updates.

Enter email address below and we will email a link to download the scripts.

 I agree by submitting my data to receive the MSSQLTips newsletter and other communications, account updates and/or special offers about SQL Server from MSSQLTips and/or its Sponsors. I have read the privacy statement and understand I may unsubscribe at any time.