libgit2 / libgit2/libgit2sharp

Logging pollutes log messages of contained programs

Aberta
#1,963 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Linguagem predominante
C#
Estrelas
3.5k
Forks
925
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

Comece rastreando GlobalSettings.LogConfiguration até a origem exata da mensagem "Logging enabled at level". Verifique como a mensagem é emitida e se o comportamento de logging configurado pode suprimi-la ou identificá-la corretamente; estará concluído quando os programas contidos deixarem de receber a mensagem não identificável.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
csharp
Domínio
observability
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.