Re: [PATCH] Remove trailing ':' from timestamp

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

 



On 11/22/2010 07:10 AM, Daniel P. Berrange wrote:
> The QEMU logger appends a ':' to the timestamp when it deems
> it neccessary, so the virTimestamp API should not duplicate
> this
> 
> * src/util/util.c: Remove trailing ':' from timestamp
> ---
>  src/util/util.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/util/util.c b/src/util/util.c
> index a0849e1..a2582aa 100644
> --- a/src/util/util.c
> +++ b/src/util/util.c
> @@ -2930,7 +2930,7 @@ virTimestamp(void)
>  
>      strftime(timestr, sizeof(timestr), "%Y-%m-%d %H:%M:%S", &time_info);
>  
> -    if (virAsprintf(&timestamp, "%s.%03d: ",
> +    if (virAsprintf(&timestamp, "%s.%03d",

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]