On Wed Apr 29 10:38:04 2026 +0000, Twaik Yont wrote:
Ok, sorry, I was wrong about that. The early call is just to ensure the channel is initialized once on the Wine side, so the `LOG` macro can rely on the lightweight `__WINE_GET_DEBUGGING()` checks. I plan to move this into the createDesktopView startup path (through ioctl) in follow-up commits, so the logging flags can be synchronized between the Java and Wine processes. In follow-up commits, the Java-invoked code will only interact with Wine through the new transport layer, without invoking any functions outside of `wineandroid.so`. It seems odd to want to avoid ntdll functions but still use debug channels. I'd suggest to define Android-specific logging flags instead.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10710#note_138439