From 21d5417e9264708f8b083712b76421b2d2350068 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 11 Jul 2019 15:46:42 -0400 Subject: [PATCH] done processing warning --- src/EventsProcessor/AzureQueueHostedService.cs | 2 ++ src/Notifications/AzureQueueHostedService.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/EventsProcessor/AzureQueueHostedService.cs b/src/EventsProcessor/AzureQueueHostedService.cs index 74a3cf9f4b..07a274cf4a 100644 --- a/src/EventsProcessor/AzureQueueHostedService.cs +++ b/src/EventsProcessor/AzureQueueHostedService.cs @@ -94,6 +94,8 @@ namespace Bit.EventsProcessor await Task.Delay(TimeSpan.FromSeconds(5), cancellationToken); } } + + _logger.LogWarning("Done processing."); } public async Task ProcessQueueMessageAsync(string message, CancellationToken cancellationToken) diff --git a/src/Notifications/AzureQueueHostedService.cs b/src/Notifications/AzureQueueHostedService.cs index 520f75cfa9..79a05292ed 100644 --- a/src/Notifications/AzureQueueHostedService.cs +++ b/src/Notifications/AzureQueueHostedService.cs @@ -95,6 +95,8 @@ namespace Bit.Notifications _logger.LogError("Error processing messages.", e); } } + + _logger.LogWarning("Done processing."); } } }