Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SQL Writer log to capture for SQL IaaS #272

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Conversation

PhilB-MSFT
Copy link
Contributor

A new log introduced by SQL Server 2019 (15.x) to provide better visibility on its SQLWriter operations. This functionality was also made available in SQL Server 2016 (13.x) Service Pack 3, and SQL Server 2017 (14.x) Cumulative Update (CU) 27.

Azure Backup for VM and Azure Site Recovery use VSS for backups and therefore including this file will help with investigation of these types of cases with the collection of the logs and not needing to ask the customer to provide the data thereby speeding up case resolution.

The file paths are fixed regardless of SQL Server version to:

  1. C:\Program Files\Microsoft SQL Server\90\Shared\SqlWriterLogger.txt
  2. C:\Program Files\Microsoft SQL Server\90\Shared\SqlWriterLogger1.txt

I believe my wildcard (e.g. copy,/Program Files/Microsoft SQL Server/90/Shared/SqlWriterLogger*.txt) will find either/both of these files if they exist.

@axelgMS
Copy link
Member

axelgMS commented Oct 3, 2024

Thanks @PhilB-MSFT
Any idea of the volume of these files? What size are they usually?

@PhilB-MSFT
Copy link
Contributor Author

Hey @axelgMS - by default (and I don't recall ever seeing them changed!) they are a maximum 1 MB each and SQL Writer will cycle them.

Copy link
Member

@axelgMS axelgMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@axelgMS
Copy link
Member

axelgMS commented Oct 3, 2024

#sign-off

@chintanrp chintanrp merged commit 86bf924 into master Oct 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants