Merge pull request #13228 from smatvienko-tb/fix/DefaultNotificationCenter-log-debug-level

default notification center log debug level
This commit is contained in:
Andrew Shvayka 2025-04-17 20:14:44 +04:00 committed by GitHub
commit e53d721d95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -259,9 +259,9 @@ public class DefaultNotificationCenter extends AbstractSubscriptionService imple
int sent = stats.getTotalSent().get();
int errors = stats.getTotalErrors().get();
if (errors > 0) {
log.info("[{}][{}] Notification request processing finished in {} ms (sent: {}, errors: {})", ctx.getTenantId(), requestId, time, sent, errors);
log.debug("[{}][{}] Notification request processing finished in {} ms (sent: {}, errors: {})", ctx.getTenantId(), requestId, time, sent, errors);
} else {
log.info("[{}][{}] Notification request processing finished in {} ms (sent: {})", ctx.getTenantId(), requestId, time, sent);
log.debug("[{}][{}] Notification request processing finished in {} ms (sent: {})", ctx.getTenantId(), requestId, time, sent);
}
updateRequestStats(ctx, requestId, stats);
if (callback != null) {