From 53f3fe79ef91bb5ba318b61b3a073c12409abc72 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 22 Nov 2018 21:06:36 +0900 Subject: Connection: Log when a room state cache is written --- lib/connection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/connection.cpp b/lib/connection.cpp index 099d6a4e..7feeb075 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -1071,6 +1071,7 @@ void Connection::saveRoomState(Room* r) const auto data = d->cacheToBinary ? json.toBinaryData() : json.toJson(QJsonDocument::Compact); outRoomFile.write(data.data(), data.size()); + qCDebug(MAIN) << "Room state cache saved to" << outRoomFile.fileName(); } else { qCWarning(MAIN) << "Error opening" << outRoomFile.fileName() << ":" << outRoomFile.errorString(); -- cgit v1.2.3