[Libreoffice-commits] online.git: kit/Kit.cpp
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 15 21:22:40 UTC 2018
kit/Kit.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c05079d6d5d6f253e9aeaf3560574f50979bc85e
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Oct 15 16:41:52 2018 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Oct 16 00:08:44 2018 +0300
Mention TerminationFlag in a couple more log lines
Why log something vague like "Stop flagged" when we can log what we
actually do?
Also, the log lines already include the name of the thread, so no need
to prefix with "Kit:".
Change-Id: I5a05492aa4e8a26714889cc6341a26862c80e4d0
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index 2c99d962c..c22fae469 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -1851,7 +1851,7 @@ private:
if (_stop || TerminationFlag)
{
- LOG_INF("Kit: Stop flagged.");
+ LOG_INF("_stop or TerminationFlag is set, breaking out of loop");
break;
}
@@ -2066,7 +2066,7 @@ protected:
// Note: Syntax or parsing errors here are unexpected and fatal.
if (TerminationFlag)
{
- LOG_DBG("Too late, we're going down");
+ LOG_DBG("Too late, TerminationFlag is set, we're going down");
}
else if (tokens[0] == "session")
{
More information about the Libreoffice-commits
mailing list