From 1cb0a1eb47bbf59bd259e1308c2470a29bfcefcc Mon Sep 17 00:00:00 2001 From: UsamaEquinorAFK Date: Tue, 5 Dec 2023 16:24:01 +0100 Subject: [PATCH] Add logging message to the start of InspectionFindingEventHandler --- backend/api/EventHandlers/InspectionFindingEventHandler.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/api/EventHandlers/InspectionFindingEventHandler.cs b/backend/api/EventHandlers/InspectionFindingEventHandler.cs index ea4d73e61..b1cd0b39e 100644 --- a/backend/api/EventHandlers/InspectionFindingEventHandler.cs +++ b/backend/api/EventHandlers/InspectionFindingEventHandler.cs @@ -18,6 +18,8 @@ public class InspectionFindingEventHandler(IConfiguration configuration, protected override async Task ExecuteAsync(CancellationToken stoppingToken) { + logger.LogInformation("InspectionFinding EventHandler service has started"); + while (!stoppingToken.IsCancellationRequested) { await Task.Delay(_interval, stoppingToken);