提交 a1fe02f0 编写于 作者: J Jiri Denemark

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: ...
上级 a950f03e
......@@ -850,6 +850,7 @@ virLogVMessage(virLogSource source,
*/
virLogLock();
virLogStr(timestamp);
virLogStr(": ");
virLogStr(msg);
virLogUnlock();
if (emit == 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册