All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] qemu-error: make the timestamp more obvious and clear
@ 2015-05-21  2:54 ` arei.gonglei
  0 siblings, 0 replies; 6+ messages in thread
From: arei.gonglei @ 2015-05-21  2:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Gonglei, Eric Blake

From: Gonglei <arei.gonglei@huawei.com>

before:
   (qemu) 2015-05-21T02:07:43.695065Z qemu-system-x86_64: test....
after applying this patch:
   (qemu) [2015-05-21T02:21:46.023619Z UTC] qemu-system-x86_64: test....

Cc: Eric Blake <eblake@redhat.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
---
 util/qemu-error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/qemu-error.c b/util/qemu-error.c
index 9bba5f5..0b91cbc 100644
--- a/util/qemu-error.c
+++ b/util/qemu-error.c
@@ -212,7 +212,7 @@ void error_vreport(const char *fmt, va_list ap)
     if (enable_timestamp_msg) {
         g_get_current_time(&tv);
         timestr = g_time_val_to_iso8601(&tv);
-        error_printf("%s ", timestr);
+        error_printf("[%s UTC] ", timestr);
         g_free(timestr);
     }
 
-- 
1.7.12.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-21  3:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21  2:54 [Qemu-trivial] [PATCH] qemu-error: make the timestamp more obvious and clear arei.gonglei
2015-05-21  2:54 ` [Qemu-devel] " arei.gonglei
2015-05-21  3:07 ` [Qemu-trivial] " Eric Blake
2015-05-21  3:07   ` [Qemu-devel] " Eric Blake
2015-05-21  3:21   ` [Qemu-trivial] " Gonglei
2015-05-21  3:21     ` [Qemu-devel] " Gonglei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.