From 4a37227b9586c368f0df4684d3240c5247bff7b9 Mon Sep 17 00:00:00 2001 From: AsamK Date: Tue, 22 Aug 2023 11:52:22 +0200 Subject: [PATCH] Improve logging --- .../asamk/signal/manager/storage/messageCache/MessageCache.java | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/main/java/org/asamk/signal/manager/storage/messageCache/MessageCache.java b/lib/src/main/java/org/asamk/signal/manager/storage/messageCache/MessageCache.java index 6027d6c9..e78928a8 100644 --- a/lib/src/main/java/org/asamk/signal/manager/storage/messageCache/MessageCache.java +++ b/lib/src/main/java/org/asamk/signal/manager/storage/messageCache/MessageCache.java @@ -66,6 +66,7 @@ public class MessageCache { if (cacheFile.equals(cachedMessage.getFile())) { return cachedMessage; } + logger.debug("Moving cached message {} to {}", cachedMessage.getFile().toPath(), cacheFile.toPath()); Files.move(cachedMessage.getFile().toPath(), cacheFile.toPath()); return new CachedMessage(cacheFile); }