提交 f1d7852a 编写于 作者: J Ján Tomko

util: remove outdated comment from virLogFormatString

Introduced by commit 72ab0b6d which
added some code depending on libvirt's log format string into
qemuProcessReadLogOutput. This function was deleted by commit
932534e8 later.

Drop the comment.
Signed-off-by: NJán Tomko <jtomko@redhat.com>
Closes: https://gitlab.com/libvirt/libvirt/-/issues/35
上级 f03a38bd
...@@ -421,13 +421,6 @@ virLogFormatString(char **msg, ...@@ -421,13 +421,6 @@ virLogFormatString(char **msg,
virLogPriority priority, virLogPriority priority,
const char *str) const char *str)
{ {
/*
* 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.
*/
if ((funcname != NULL)) { if ((funcname != NULL)) {
*msg = g_strdup_printf("%llu: %s : %s:%d : %s\n", *msg = g_strdup_printf("%llu: %s : %s:%d : %s\n",
virThreadSelfID(), virLogPriorityString(priority), virThreadSelfID(), virLogPriorityString(priority),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册