From Yaniv Bronhaim <ybron...@redhat.com>:

Yaniv Bronhaim has uploaded a new change for review.

Change subject: Adding timezone to vdsm logging time format
......................................................................

Adding timezone to vdsm logging time format

2017-01-09 13:31:38+0000 INFO  (jsonrpc/6) [jsonrpc.JsonRpcServer] RPC
call Host.getAllVmStats succeeded in 0.01 seconds (__init__:515)
2017-01-09 13:31:38+0000 INFO  (jsonrpc/7) [jsonrpc.JsonRpcServer] RPC
call Host.getAllVmIoTunePolicies succeeded in 0.00 seconds
(__init__:515)
2017-01-09 13:31:39+0000 INFO  (vmrecovery) [dispatcher] Run and
protect: getConnectedStoragePoolsList(options=None) (logUtils:49)
2017-01-09 13:31:39+0000 INFO  (vmrecovery) [dispatcher] Run and
protect: getConnectedStoragePoolsList, Return response: {'poollist': []}
(logUtils:52)
2017-01-09 13:31:39+0000 INFO  (vmrecovery) [vds] recovery: waiting for
storage pool to go up (clientIF:560)
2017-01-09 13:31:44+0000 INFO  (vmrecovery) [dispatcher] Run and
protect: getConnectedStoragePoolsList(options=None) (logUtils:49)
2017-01-09 13:31:44+0000 INFO  (vmrecovery) [dispatcher] Run and
protect: getConnectedStoragePoolsList, Return response: {'poollist': []}
(logUtils:52)
2017-01-09 13:31:44+0000 INFO  (vmrecovery) [vds] recovery: waiting for
storage pool to go up (clientIF:560)
2017-01-09 13:31:44+0000 INFO  (jsonrpc/0) [dispatcher] Run and protect:
repoStats(options=None) (logUtils:49)
2017-01-09 13:31:44+0000 INFO  (jsonrpc/0) [dispatcher] Run and protect:
repoStats, Return response: {} (logUtils:52)
2017-01-09 13:31:44+0000 INFO  (jsonrpc/0) [jsonrpc.JsonRpcServer] RPC
call Host.getStats succeeded in 0.00 seconds (__init__:515)

Change-Id: I139a19ea3aef1d4d3450280f269fca829fd05511
Signed-off-by: Yaniv Bronhaim <ybron...@redhat.com>
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1408190
---
M static/etc/vdsm/logger.conf.in
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/46/69846/1

diff --git a/static/etc/vdsm/logger.conf.in b/static/etc/vdsm/logger.conf.in
index 6241817..d9a458f 100644
--- a/static/etc/vdsm/logger.conf.in
+++ b/static/etc/vdsm/logger.conf.in
@@ -80,6 +80,7 @@
 
 [formatter_long]
 format: %(asctime)s %(levelname)-5s (%(threadName)s) [%(name)s] %(message)s 
(%(module)s:%(lineno)d)
+datefmt: %Y-%m-%d %H:%M:%S%z
 
 [formatter_sysform]
 format= vdsm %(name)s %(levelname)s %(message)s


-- 
To view, visit https://gerrit.ovirt.org/69846
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I139a19ea3aef1d4d3450280f269fca829fd05511
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybron...@redhat.com>
_______________________________________________
vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org

Reply via email to