Re: [PATCH] Ensure logfile isn't truncated by shutdown message.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/22/2010 06:37 AM, Daniel P. Berrange wrote:
> When running non-root, the QEMU log file is usually opened with
> truncation, since there is no logrotate for non-root usage.
> This means that when libvirt logs the shutdown timestamp, the
> log is accidentally truncated
> 
> * src/qemu/qemu_driver.c: Never truncate log file with shutdown
>   message
> ---
>  src/qemu/qemu_driver.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]