Browse Source
Merge pull request #13228 from smatvienko-tb/fix/DefaultNotificationCenter-log-debug-level
default notification center log debug level
pull/13231/head
Andrew Shvayka
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
application/src/main/java/org/thingsboard/server/service/notification/DefaultNotificationCenter.java
|
|
|
@ -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) { |
|
|
|
|