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

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



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

Attachment: signature.asc
Description: OpenPGP digital signature


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