Microsoft made a change in their user agent and you won't be able to detect Windows 11 because Windows 11 will use "Window NT 10.0" which is the same that Windows 10 uses.
This applies to all browsers such as Edge, Chrome, Firefox,
So in short you will not see Windows 11 in the logs.