]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: remove outdated comment from virLogFormatString
authorJán Tomko <jtomko@redhat.com>
Thu, 18 Jun 2020 13:07:28 +0000 (15:07 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 18 Jun 2020 13:07:28 +0000 (15:07 +0200)
Introduced by commit 72ab0b6dc8129a388aff260a6e444d48495b0e93 which
added some code depending on libvirt's log format string into
qemuProcessReadLogOutput. This function was deleted by commit
932534e85f34a479c7eac174e997bfd9c85bd22d later.

Drop the comment.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Closes: https://gitlab.com/libvirt/libvirt/-/issues/35
src/util/virlog.c

index e4944d1258b756d05c5aa4723b875540322150a2..2c18eeed031764c7522297d2c75e5d5b5db81497 100644 (file)
@@ -421,13 +421,6 @@ virLogFormatString(char **msg,
                    virLogPriority priority,
                    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)) {
         *msg = g_strdup_printf("%llu: %s : %s:%d : %s\n",
                                virThreadSelfID(), virLogPriorityString(priority),