diff --git a/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs b/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs index eae8c9b5d7..7cf9a46704 100644 --- a/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs +++ b/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs @@ -117,11 +117,17 @@ public static IPackageManager GetPackageManager(ChocolateyConfiguration configur } //NOTE DO NOT EVER use this method - packageManager.PackageInstalling += (s, e) => - packageManager.PackageInstalled += (s, e) => { var pkg = e.Package; - "chocolatey".Log().Info(ChocolateyLoggers.Important, "{0}{1} v{2}{3}".format_with(Environment.NewLine, pkg.Id, pkg.Version.to_string(), configuration.Force ? " (forced)" : string.Empty)); + "chocolatey".Log().Info(ChocolateyLoggers.Important, "{0}{1} v{2}{3}{4}{5}".format_with( + Environment.NewLine, + pkg.Id, + pkg.Version.to_string(), + configuration.Force ? " (forced)" : string.Empty, + pkg.IsApproved ? " [Approved]" : string.Empty, + pkg.PackageTestResultStatus == "Failing" && pkg.IsDownloadCacheAvailable ? " - Likely broken for FOSS users (due to download location changes)" : pkg.PackageTestResultStatus == "Failing" ? " - Possibly broken" : string.Empty + )); if (installSuccessAction != null) installSuccessAction.Invoke(e); };