On Fri May 1 08:52:37 2026 +0000, Twaik Yont wrote:
I’d prefer to keep this change minimal and avoid adding a separate logging configuration/synchronization layer. __WINE_GET_DEBUGGING itself is just a lightweight bit check on the channel flags and does not call into any ntdll code once the channel is initialized. Because of that, it’s effectively just a cheap runtime check. The idea here is to reuse that state directly instead of reimplementing a parallel set of flags. In follow-up work I plan to pass the channel flags structure to the Java side as-is, so the logging behavior can stay in sync without additional code for mapping or synchronization. I’m not trying to argue against your suggestion, just to explain the reasoning before changing the behavior. If you’d still prefer separate Android-side flags, I can switch to that. Seems like I can simply pass the flags instead of the whole channel structure, without hurting the code.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10710#note_138511