Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Rename `monodroid` logcat tags to `dotnet`

Aperta
#13,115 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, cpp, csharp

Direzione di ricerca

Start with the category tag constants in src/native/clr/include/constants.hh and the category-to-tag selection in src/native/clr/shared/log_functions.cc, then find the managed logging call sites under src/Mono.Android/Android.Runtime/ and src/Mono.Android/Microsoft.Android.Runtime/. Done means every monodroid and monodroid-* tag is renamed to dotnet / dotnet-* on both CoreCLR and NativeAOT, with log levels and filtering unchanged, and the docs and tests that reference the old tags are updated.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

needs-triage
Android framework version

All supported .NET for Android target frameworks.

Affected platform version

N/A — this is a runtime logging naming cleanup, not a version-specific failure.

Description

Rename the legacy monodroid logcat tag to dotnet to match the current .NET for Android product and runtime naming.

Apply the naming consistently across managed and native logging, including category-specific tags such as monodroid-assembly, monodroid-gc, monodroid-timing, and monodroid-network (for example, dotnet-assembly and dotnet-gc). Audit other monodroid-* tags and case variants for consistency.

Relevant implementation locations include:

  • src/native/clr/include/constants.hh: native logcat category names.
  • src/native/clr/shared/log_functions.cc: native category-to-tag selection.
  • src/Mono.Android/Android.Runtime/ and src/Mono.Android/Microsoft.Android.Runtime/: managed logging call sites.

Preserve existing log levels, category filtering, and message contents. Update related documentation, logcat filters, scripts, and tests that depend on the old tags, and document the change for users with existing filters. Cover both CoreCLR and NativeAOT.

This request concerns logging tags only; native entry points, library names, and error codes are not part of the rename.

Steps to Reproduce
  1. Enable runtime logging, for example with adb shell setprop debug.dotnet.log default,assembly,gc.
  2. Launch a .NET for Android application.
  3. Inspect logcat output and observe legacy tags such as monodroid and monodroid-assembly.

Expected: the corresponding tags use dotnet and dotnet-*.

Did you find any workaround?

Continue filtering on the existing monodroid tags until the rename is implemented.

Relevant log output

N/A — no application log capture is attached; the existing tag names are defined in the source locations above.

Lingua principale
C#
Stelle
2.1k
Fork
581
Merge medio
1g 23h
PR unite (30g)
243

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di dotnet/android

Tutte le issue di dotnet/android

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.