winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 01f5712ed44f095a98dd74bc8fab3f5b1811c014
parent a5675d7a1c05f5e10b3ea8b106731ac4650b9178
Author: mapill-msft <58245272+mapill-msft@users.noreply.github.com>
Date:   Fri, 19 Jun 2020 11:15:04 -0700

Moving command line args logging to local file log. (#443)


Diffstat:
Msrc/AppInstallerCommonCore/AppInstallerTelemetry.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/AppInstallerCommonCore/AppInstallerTelemetry.cpp b/src/AppInstallerCommonCore/AppInstallerTelemetry.cpp @@ -106,18 +106,18 @@ namespace AppInstaller::Logging if (g_IsTelemetryProviderEnabled) { TraceLoggingWriteActivity(g_hTelemetryProvider, - "ClientStartup", + "ClientVersion", GetActivityId(), nullptr, TraceLoggingCountedString(version->c_str(), static_cast<ULONG>(version->size()), "Version"), TraceLoggingCountedString(packageVersion->c_str(), static_cast<ULONG>(packageVersion->size()), "PackageVersion"), - TraceLoggingWideString(GetCommandLineW(), "CommandlineArgs"), TelemetryPrivacyDataTag(PDT_ProductAndServicePerformance|PDT_ProductAndServiceUsage), TraceLoggingKeyword(MICROSOFT_KEYWORD_CRITICAL_DATA)); } AICLI_LOG(Core, Info, << "WinGet, version [" << version << "], activity [" << *GetActivityId() << ']'); AICLI_LOG(Core, Info, << "OS: " << Runtime::GetOSVersion()); + AICLI_LOG(Core, Info, << "Command line Args: " << GetCommandLineA()); if (Runtime::IsRunningInPackagedContext()) { AICLI_LOG(Core, Info, << "Package: " << packageVersion);