Adapt log level

This commit is contained in:
AsamK 2021-08-25 20:56:41 +02:00
parent 467a48bac5
commit ca52c01031

View file

@ -317,7 +317,7 @@ public class Manager implements Closeable {
public void checkAccountState() throws IOException { public void checkAccountState() throws IOException {
if (account.getLastReceiveTimestamp() == 0) { if (account.getLastReceiveTimestamp() == 0) {
logger.warn("The Signal protocol expects that incoming messages are regularly received."); logger.info("The Signal protocol expects that incoming messages are regularly received.");
} else { } else {
var diffInMilliseconds = System.currentTimeMillis() - account.getLastReceiveTimestamp(); var diffInMilliseconds = System.currentTimeMillis() - account.getLastReceiveTimestamp();
long days = TimeUnit.DAYS.convert(diffInMilliseconds, TimeUnit.MILLISECONDS); long days = TimeUnit.DAYS.convert(diffInMilliseconds, TimeUnit.MILLISECONDS);