The comment is confusing in virLogFormatString() function
/*
* Be careful when changing the following log message formatting, we rely
* on it when stripping libvirt debug messages **from qemu log files**. So when
* changing this, you might also need to change the code there.
* virLogFormatString() function name is mentioned there so it's sufficient
* to just grep for it to find the right place.
*/
I searched "virLogFormatString" in libvirt code, all "virLogFormatString" are in virlog.c
I also searched "virLogFormatString" in qemu code, but no existence.
So I do not understand what the above comment is trying to tell us, especially the part: "from qemu log files".
Edited by winndows