libgit2 / libgit2/libgit2sharp

Logging pollutes log messages of contained programs

未關閉
#1,963 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
C#
星號
3.5k
分支
925
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先追蹤 GlobalSettings.LogConfiguration,找到確切訊息 "Logging enabled at level" 的來源。驗證訊息是如何發出的,以及設定的 logging 行為是否可以抑制該訊息或正確識別它;完成標準是所包含的程式不再收到無法識別的訊息。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
observability
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。