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

Eric Blake eblake at redhat.com
Mon Nov 22 18:20:36 UTC 2010


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 at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101122/e1ec39d0/attachment-0001.sig>


More information about the libvir-list mailing list