libgit2 / libgit2sharp

Git + .NET = ❤
http://libgit2.github.com
MIT License
3.13k stars 879 forks source link

Logging pollutes log messages of contained programs #1963

Open rouke-broersma opened 2 years ago

rouke-broersma commented 2 years ago

You are opening a bug report against the LibGit2Sharp project: we use GitHub Issues for tracking bug reports and feature requests. If you have a question about an API or usage, please ask on StackOverflow: http://stackoverflow.com/questions/tagged/libgit2sharp.

Otherwise, to report a bug, please fill out the reproduction steps (below) and delete these introductory paragraphs. Thanks!

Reproduction steps

Set GlobalSettings.LogConfiguration Pass log messages from libgit2sharp to your own logging solution

Expected behavior

Libgit2sharp does not send an unidentifiable Logging enabled at level logmessage that we cannot disable

Actual behavior

Libgit2sharp sends an unidentifiable Logging enabled at level logmessage that we cannot disable and which confuses our users because it is not the same loglevel name as they set in our app config.

Version of LibGit2Sharp (release number or SHA1)

Operating system(s) tested; .NET runtime tested