From f43e954a31a0690bbd13bce3a22c36ef1f9c8663 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sun, 4 Aug 2019 20:04:04 -0400 Subject: [PATCH] Starting informational with bypass --- src/EventsProcessor/AzureQueueHostedService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/EventsProcessor/AzureQueueHostedService.cs b/src/EventsProcessor/AzureQueueHostedService.cs index 5b23a4b0d..48eda6531 100644 --- a/src/EventsProcessor/AzureQueueHostedService.cs +++ b/src/EventsProcessor/AzureQueueHostedService.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; +using Bit.Core; using Bit.Core.Models.Data; using Bit.Core.Services; using Microsoft.Extensions.Configuration; @@ -35,7 +36,7 @@ namespace Bit.EventsProcessor public Task StartAsync(CancellationToken cancellationToken) { - _logger.LogWarning("Starting service."); + _logger.LogInformation(Constants.BypassFiltersEventId, "Starting service."); _cts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken); _executingTask = ExecuteAsync(_cts.Token); return _executingTask.IsCompleted ? _executingTask : Task.CompletedTask;