|
From: | Alexander Ivanov |
Subject: | Re: [PATCH v5 4/5] parallels: Replace fprintf by qemu_log in check |
Date: | Fri, 9 Jun 2023 12:36:06 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 6/2/23 16:48, Hanna Czenczek wrote:
We want to add some image checks to parallels_open(). It means that it will be used not only in qemu-img and we may lose these messages if a log file is specified. Stderr is not duplicated to the log file.On 29.05.23 17:15, Alexander Ivanov wrote:If the check is called during normal work, tracking of the check must bepresent in VM logs to have some clues if something going wrong with user'sdata.I understand stderr counts as part of the VM log, doesn’t it? I thought stderr is generally logged, and naïvely, it seems like the better fit to me, because it conveys more urgency than the standard log (which, judging from its callers, looks mostly like a debug log).Hanna
Signed-off-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com> Reviewed-by: Denis V. Lunev <den@openvz.org> --- block/parallels.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
-- Best regards, Alexander Ivanov
[Prev in Thread] | Current Thread | [Next in Thread] |