[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-cd-3-1' - common/Log.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Thu Apr 19 12:50:18 UTC 2018
common/Log.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 3c395615a2f5e43e7fac6ccc83c4d705166fc6c1
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Thu Apr 19 08:35:23 2018 -0400
wsd: log the date as day/month before the time
Change-Id: Ic2e6c5be12fe919965971c6d203862ee6e1b74f9
Reviewed-on: https://gerrit.libreoffice.org/53157
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/common/Log.cpp b/common/Log.cpp
index 94d2fd13e..926bc75ad 100644
--- a/common/Log.cpp
+++ b/common/Log.cpp
@@ -110,11 +110,11 @@ namespace Log
osTid = Util::getThreadId();
threadName = Util::getThreadName();
}
-
Poco::DateTime time;
- snprintf(buffer, 1023, "%s-%.05lu %.2u:%.2u:%.2u.%.6u [ %s ] %s ",
+ snprintf(buffer, 1023, "%s-%.05lu %.2u/%.2u %.2u:%.2u:%.2u.%.6u [ %s ] %s ",
(Source.inited ? Source.id.c_str() : "<shutdown>"),
osTid,
+ time.day(), time.month(),
time.hour(), time.minute(), time.second(),
time.millisecond() * 1000 + time.microsecond(),
threadName, level);
More information about the Libreoffice-commits
mailing list