Repository navigation
Description
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.
Activity
[Mono.Android] Remove internal P/Invokes and simplify startup (#13116)