diff --git a/cmd/core-metadata/res/configuration.toml b/cmd/core-metadata/res/configuration.toml index ef79dfbb04..ac2541a879 100644 --- a/cmd/core-metadata/res/configuration.toml +++ b/cmd/core-metadata/res/configuration.toml @@ -52,7 +52,7 @@ Type = "consul" Type = "redisdb" [Notifications] -PostDeviceChanges = true +PostDeviceChanges = false Content = "Meatadata notice: " Sender = "core-metadata" Description = "Metadata change notice" diff --git a/internal/core/metadata/application/notify.go b/internal/core/metadata/application/notify.go index c8eb9ab7c5..e9cdd578bd 100644 --- a/internal/core/metadata/application/notify.go +++ b/internal/core/metadata/application/notify.go @@ -236,7 +236,7 @@ func sendNotification(ctx context.Context, dic *di.Container, name string, actio req := requests.NewAddNotificationRequest(dto) res, err := client.SendNotification(ctx, []requests.AddNotificationRequest{req}) if err != nil { - lc.Errorf("fail to send the notification for %s, err: %v", name, err) + lc.Warnf("fail to send the notification for %s, err: %v", name, err) return } if len(res) > 0 && res[0].StatusCode > http.StatusMultiStatus {