Rename `monodroid` logcat tags to `dotnet`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- mobile, observability
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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/andsrc/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
- Enable runtime logging, for example with
adb shell setprop debug.dotnet.log default,assembly,gc. - Launch a .NET for Android application.
- Inspect logcat output and observe legacy tags such as
monodroidandmonodroid-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.
- 主要语言
- C#
- 星标
- 2.1k
- 派生
- 581
- 平均合并
- 2 天 6 分钟
- 30 天内合并 PR
- 245
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dotnet/android 的其他 Issue
-
Area: App+Library Build
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Area: Mono.Android
难度 2/5 1-3 小时 新手友好度 65/100
dotnet/android#9192 · 4 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
.NET 11 RC2 MAUI app fails to compile (NativeAOT) with MAUI Community Toolkit可能已有人在做 @simonrozsival 今天认领。 未关闭Area: App+Library Build needs-triage
难度 4/5 3-5 天 新手友好度 15/100
dotnet/android#13143 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-triage
难度 3/5 半天 新手友好度 45/100
dotnet/android#13142 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-triage
难度 4/5 一周以上 新手友好度 18/100
维护者通常 1 天内回复
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
ClickHouse/clickhouse-cs#689 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 7 天内回复
-
难度 1/5 1 小时以内 新手友好度 65/100
vchelaru/FlatRedBall2#1481 ·
维护者通常 1 天内回复
-
ai-chat bug trivial
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
area-signalr
难度 2/5 1-3 小时 新手友好度 75/100
dotnet/aspnetcore#69842 · 1 条评论 ·
维护者通常 1 天内回复