webui logs need to have timestamp which reflects timezone

Bug #1465946 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Medium
Biswajit Mandal

Bug Description

R2.20 Build 54

In contrail-webui* logs, the timestamps are in format '2015-06-17T05:21:35.062Z '

root@nodei35:/var/log/contrail# date
Wed Jun 17 11:16:00 IST 2015
root@nodei35:/var/log/contrail#

Since this time even though correct, is different from local timestamp with timezone, it makes debugging hard.
Please correct this

Tags: ui
Rahul (rahuls)
Changed in juniperopenstack:
assignee: Rahul (rahuls) → Biswajit Mandal (bmandal)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/11993
Submitter: Biswajit Mandal (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/12015
Submitter: Biswajit Mandal (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/12016
Submitter: Biswajit Mandal (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/11993
Committed: http://github.org/Juniper/contrail-third-party-cache/commit/95a85fc06e212c9bb4cb360682ff75efdfabccce
Submitter: Zuul
Branch: master

commit 95a85fc06e212c9bb4cb360682ff75efdfabccce
Author: Biswajit Mandal <email address hidden>
Date: Wed Jun 24 10:40:38 2015 +0530

Partial-Bug: #1465946
Adding moment-2.10.3 npm module which is having multiple APIs for date/time
format.

Change-Id: If0b8e1902d8c6ce78318a5fffca30a1a37e233f2

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/12015
Committed: http://github.org/Juniper/contrail-webui-third-party/commit/c5b2602750290c02060b8f096bc71228ea2656ad
Submitter: Zuul
Branch: master

commit c5b2602750290c02060b8f096bc71228ea2656ad
Author: Biswajit Mandal <email address hidden>
Date: Wed Jun 24 23:18:34 2015 +0530

Related-Bug: #1465946
Adding entry in packages.xml for moment npm module
Depends-On:If0b8e1902d8c6ce78318a5fffca30a1a37e233f2

Change-Id: I7297e5dc5c5e17a190acb90ba968f3797bb4418b

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/12016
Committed: http://github.org/Juniper/contrail-web-core/commit/3ea80981092d234042309bf589ca765673bb6918
Submitter: Zuul
Branch: master

commit 3ea80981092d234042309bf589ca765673bb6918
Author: Biswajit Mandal <email address hidden>
Date: Wed Jun 24 23:27:31 2015 +0530

Closes-Bug: #1465946
Using moment date-time formatter for web-ui logging to make it consistent with
other contrail module logs.
Depends-On: I7297e5dc5c5e17a190acb90ba968f3797bb4418b

Change-Id: I8f12de5500c02c0ea883ba8b734e721524d7cc77

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.