microsoft / microsoft/DacFx

Parameter to truncate/ start empty or delete the diagnostic file upon new sqlpackage run

Open
#514 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
460
Forks
29
Avg merge
4d 9h
Merged PRs (30d)
7

Description

**Is your feature request related to a problem? Please describe.**
When running sqlpackage action with export and the diagnostic file. For D365FO exports a file of more then 1 GB is created. The file is not deleted or emptied on a new run..so the file continuous to grow.

**Describe the solution you'd like**
Add a parameter to truncate or delete the file instead of appending only data to it.

**Describe alternatives you've considered**
Parameter to append or start new empty file.

Contributor guide

Open the contributing guide

Research direction

No source file or test is named in the issue. Start by locating sqlpackage's diagnostic-file handling and verify how a new run currently appends; done when a parameter supports truncating, deleting, or appending the diagnostic file as selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.