From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmczw-00027z-GC for qemu-devel@nongnu.org; Thu, 15 Oct 2015 03:30:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zmczo-00033R-HG for qemu-devel@nongnu.org; Thu, 15 Oct 2015 03:30:43 -0400 Received: from mailhub.sw.ru ([195.214.232.25]:10872 helo=relay.sw.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmczo-0002us-3g for qemu-devel@nongnu.org; Thu, 15 Oct 2015 03:30:40 -0400 From: "Denis V. Lunev" Date: Thu, 15 Oct 2015 10:30:21 +0300 Message-Id: <1444894224-9542-1-git-send-email-den@openvz.org> Subject: [Qemu-devel] [PATCH 0/3] QEMU logging improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Pavel Butsykin , Markus Armbruster , qemu-devel@nongnu.org, Luiz Capitulino , "Denis V. Lunev" The following is done: - QMP/HMP events are now logged - timestamp is added to the log message - arguments of qemu_log/qemu_log_mask are not calculated now if the log is disabled These patches are sent in the hope that it is not too late for QEMU 2.5. Logging subsystem in QEMU looks rudimentary to me and should be definitely improved, f.e. log on stalled NFS could ruin the system completely. Anyway, it is too late for this at the moment. Signed-off-by: Denis V. Lunev CC: Pavel Butsykin CC: Markus Armbruster CC: Luiz Capitulino CC: Eric Blake CC: Peter Maydell