mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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: ...
This commit is contained in:
parent
a950f03e16
commit
a1fe02f0e9
@ -850,6 +850,7 @@ virLogVMessage(virLogSource source,
|
|||||||
*/
|
*/
|
||||||
virLogLock();
|
virLogLock();
|
||||||
virLogStr(timestamp);
|
virLogStr(timestamp);
|
||||||
|
virLogStr(": ");
|
||||||
virLogStr(msg);
|
virLogStr(msg);
|
||||||
virLogUnlock();
|
virLogUnlock();
|
||||||
if (emit == 0)
|
if (emit == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user