Skip to content

Rename monodroid logcat tags to dotnet #13115

Closed

Description

@simonrozsival

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions