Skip to content

Commit

Permalink
Add logging message to the start of InspectionFindingEventHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadUsama-afk-equinor authored and UsamaEquinorAFK committed Dec 5, 2023
1 parent 0a9cb2b commit 1cb0a1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/api/EventHandlers/InspectionFindingEventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1cb0a1e

Please sign in to comment.