From 0cae43c4afaa369ab1648a28d8a187c1aab708b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Luthi?= Date: Mon, 3 Aug 2020 00:55:14 +0200 Subject: [PATCH] Fix the CertificateManagerEventSource event ids More fixes are coming but this one is required to eventually write an EventListener (as suggested in 8e1e81ae78e876eecad1b816093f0519682e205d) --- src/Shared/CertificateGeneration/CertificateManager.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Shared/CertificateGeneration/CertificateManager.cs b/src/Shared/CertificateGeneration/CertificateManager.cs index 1f2820b9bee2..cc63219bd9b6 100644 --- a/src/Shared/CertificateGeneration/CertificateManager.cs +++ b/src/Shared/CertificateGeneration/CertificateManager.cs @@ -853,13 +853,13 @@ public void ExportCertificateStart(string certificate, string path, bool include [Event(50, Level = EventLevel.Verbose)] public void WindowsRemoveCertificateFromRootStoreNotFound() => WriteEvent(50, "The certificate was not trusted."); - [Event(50, Level = EventLevel.Verbose)] + [Event(51, Level = EventLevel.Verbose)] public void CorrectCertificateStateStart(string certificate) => WriteEvent(51, $"Correcting the the certificate state for '{certificate}'"); - [Event(51, Level = EventLevel.Verbose)] + [Event(52, Level = EventLevel.Verbose)] public void CorrectCertificateStateEnd() => WriteEvent(52, "Finished correcting the certificate state"); - [Event(52, Level = EventLevel.Error)] + [Event(53, Level = EventLevel.Error)] public void CorrectCertificateStateError(string error) => WriteEvent(53, $"An error has ocurred while correcting the certificate state: {error}."); [Event(54, Level = EventLevel.Verbose)]