mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 00:22:50 -05:00
updates to logging
This commit is contained in:
@ -32,15 +32,12 @@ namespace Bit.Core.Services
|
||||
globalSettings.Installation?.Id != null &&
|
||||
CoreHelpers.SettingHasValue(globalSettings.Installation?.Key))
|
||||
{
|
||||
logger.LogInformation(Constants.BypassFiltersEventId, "Use RelayPushNotificationService");
|
||||
_services.Add(new RelayPushNotificationService(_deviceRepository, globalSettings,
|
||||
httpContextAccessor, relayLogger));
|
||||
}
|
||||
if(CoreHelpers.SettingHasValue(globalSettings.InternalIdentityKey) &&
|
||||
CoreHelpers.SettingHasValue(globalSettings.BaseServiceUri.InternalNotifications))
|
||||
{
|
||||
logger.LogInformation(Constants.BypassFiltersEventId,
|
||||
"Use NotificationsApiPushNotificationService");
|
||||
_services.Add(new NotificationsApiPushNotificationService(
|
||||
globalSettings, httpContextAccessor, hubLogger));
|
||||
}
|
||||
|
Reference in New Issue
Block a user