aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2010-11-22 13:25:36 +0000
committerDaniel P. Berrange <berrange@redhat.com>2010-11-23 14:09:58 +0000
commitdbf405bf04e0aa490e08a0c4ac952cc59507d8d3 (patch)
tree4597059787a302b064e811ca813b850db446c1fe
parentLog all errors at level INFO to stop polluting syslog (diff)
downloadlibvirt-dbf405bf04e0aa490e08a0c4ac952cc59507d8d3.tar.gz
libvirt-dbf405bf04e0aa490e08a0c4ac952cc59507d8d3.tar.bz2
libvirt-dbf405bf04e0aa490e08a0c4ac952cc59507d8d3.zip
Remove trailing ':' from timestamp
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
-rw-r--r--src/util/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/util.c b/src/util/util.c
index a0849e1a3..a2582aad4 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",
timestr, (int) cur_time.tv_usec / 1000) < 0) {
return NULL;
}