Set log level warn for master

This commit is contained in:
Christoph Atteneder 2020-04-30 16:31:50 +02:00
parent 0faff472d8
commit 80914edf74
No known key found for this signature in database
GPG Key ID: CD5DC1C529CDFD3B

View File

@ -579,8 +579,7 @@ public class P2PDataStorage implements MessageListener, ConnectionListener, Pers
// To avoid that expired data get stored and broadcast we check early for expire date.
if (protectedStorageEntry.isExpired(clock)) {
//TODO: set to warn log level with next release v1.3.5
log.debug("We received an expired protectedStorageEntry from peer {}",
log.warn("We received an expired protectedStorageEntry from peer {}",
sender != null ? sender.getFullAddress() : "sender is null");
log.debug("Expired protectedStorageEntry from peer {}. getCreationTimeStamp={}, protectedStorageEntry={}",
sender != null ? sender.getFullAddress() : "sender is null",