Browse Source

DefaultNotificationCenter log level debug

pull/13228/head
Sergey Matvienko 1 year ago
parent
commit
5de4efb7b3
  1. 4
      application/src/main/java/org/thingsboard/server/service/notification/DefaultNotificationCenter.java

4
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) {

Loading…
Cancel
Save