From: Jiri Denemark Date: Mon, 25 Mar 2013 10:35:27 +0000 (+0100) Subject: log: Separate thread ID from timestemp in ring buffer X-Git-Tag: v1.0.4-rc2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1fe02f0e942bdd69e8886d8fa76069343207093;p=thirdparty%2Flibvirt.git log: Separate thread ID from timestemp in ring buffer When we write a log message into a log, we separate thread ID from timestamp using ": ". However, when storing the message into the ring buffer, we omitted the separator, e.g.: 2013-02-27 11:49:11.852+00003745: ... --- diff --git a/src/util/virlog.c b/src/util/virlog.c index 957d993a3b..721c9bd444 100644 --- a/src/util/virlog.c +++ b/src/util/virlog.c @@ -850,6 +850,7 @@ virLogVMessage(virLogSource source, */ virLogLock(); virLogStr(timestamp); + virLogStr(": "); virLogStr(msg); virLogUnlock(); if (emit == 0)