Skip to content

GREF logging is broken in multi-process apps #1

Open
@jonpryor

Description

@jonpryor

Scenario: Create a Xamarin.Android app, add a e.g. Service, and set ServiceAttribute.Process:

[Service(Process="example")]
public class MyService : Android.App.Service {
    // ...
}

The problem is that the debug.mono.log system property is read at process startup -- for both (all) processes, the "normal" one and the "example" one, and they don't know to cooperate with each other.

The result is that they each write to grefs.txt, corrupting the contents.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions