Split WSLCCreateSession event (#41327)

Craig Loewen committed Aug 20, 2026 at 10:52 UTC 11f55e139d9d18b756b51109eea1e23ed3d85ae2
1 file changed +6
src/windows/service/exe/WSLCSessionManager.cpp
+6
@@ -362,6 +362,12 @@ void WSLCSessionManagerImpl::CreateSession(
362 TraceLoggingValue(creationResult, "Result"),
363 TraceLoggingValue(tokenInfo.Elevated, "Elevated"),
364 TraceLoggingValue(static_cast<uint32_t>(Flags), "Flags"),
365 + TraceLoggingLevel(WINEVENT_LEVEL_INFO));
366 +
367 + WSL_LOG(
368 + "WSLCCreateSessionCaller",
369 + TelemetryPrivacyDataTag(PDT_ProductAndServiceUsage),
370 + TraceLoggingKeyword(MICROSOFT_KEYWORD_CRITICAL_DATA),
371 TraceLoggingValue(callerFileName.c_str(), "CallerFileName"),
372 TraceLoggingLevel(WINEVENT_LEVEL_INFO));
373