microsoft / microsoft/sqlmanagementobjects
How to disable the sqlmanagementobjects tracing output ?
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 143
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
I'm using SMO inside a .Net (C#) project.
I installed the library using NuGet package Microsoft.SqlServer.SqlManagementObjects / version 161.46437.65.
All of a sudden, my console output is filled with tracing information from the library which is being way too verbose for me !
How can I disable the tracing output from the SMO library ?
I also found similar questions on Stack Overflow. (without answers)
https://stackoverflow.com/questions/62026123/how-to-prevent-tracing-content-from-components-in-a-tracelistener
https://stackoverflow.com/questions/63508192/is-there-a-way-to-disable-the-tracehelper-in-smo-v16-nuget-package
Is there plan to publish the source code of the SMO library on github ?
See the page here which stated 2020 H2: https://github.com/microsoft/sqlmanagementobjects/wiki
Thanks for the help,
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue identifies Microsoft.SqlServer.SqlManagementObjects version 161.46437.65 and a console reproduction with verbose tracing; start by checking the package's tracing configuration and the application's TraceListener setup. Done means documenting or exposing a supported way to suppress SMO tracing without suppressing unrelated application tracing, with the console behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100