mirror of
https://github.com/bitwarden/server.git
synced 2025-02-16 01:51:21 +01:00
filter out heartbeat warning log
This commit is contained in:
parent
05f876e61c
commit
51e4c5e1b7
@ -102,6 +102,11 @@ namespace Bit.Notifications
|
||||
return false;
|
||||
}
|
||||
|
||||
if(e.Level == LogEventLevel.Warning && e.MessageTemplate.Text.StartsWith("Heartbeat took longer"))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return e.Level >= LogEventLevel.Warning;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user