mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05: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:
@@ -850,6 +850,7 @@ virLogVMessage(virLogSource source,
|
||||
*/
|
||||
virLogLock();
|
||||
virLogStr(timestamp);
|
||||
virLogStr(": ");
|
||||
virLogStr(msg);
|
||||
virLogUnlock();
|
||||
if (emit == 0)
|
||||
|
||||
Reference in New Issue
Block a user