[Libreoffice-commits] online.git: loolwsd/DocumentBroker.cpp
Tor Lillqvist
tml at collabora.com
Mon Apr 11 06:29:25 UTC 2016
loolwsd/DocumentBroker.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit bde585a8797a45b116b4b90508d01eeac05c8eb5
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon Apr 11 09:25:32 2016 +0300
Make the time log messages make more sense semantically
diff --git a/loolwsd/DocumentBroker.cpp b/loolwsd/DocumentBroker.cpp
index c931a93..4a582fe 100644
--- a/loolwsd/DocumentBroker.cpp
+++ b/loolwsd/DocumentBroker.cpp
@@ -165,9 +165,9 @@ bool DocumentBroker::autoSave(const bool force)
inactivityTimeMs = std::min(sessionIt.second->getInactivityMS(), inactivityTimeMs);
}
- Log::trace("Most recent inactivity was " + std::to_string((int)inactivityTimeMs) + " ms ago.");
+ Log::trace("Most recent activity was " + std::to_string((int)inactivityTimeMs) + " ms ago.");
const auto timeSinceLastSaveMs = getTimeSinceLastSaveMs();
- Log::trace("Time since last save was " + std::to_string((int)timeSinceLastSaveMs) + " ms ago.");
+ Log::trace("Time since last save is " + std::to_string((int)timeSinceLastSaveMs) + " ms.");
// There has been some editing since we saved last?
if (inactivityTimeMs < timeSinceLastSaveMs)
More information about the Libreoffice-commits
mailing list