qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-1411) Add timestamp and router name to header of qdstat output
Date Tue, 15 Oct 2019 15:58:00 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16952060#comment-16952060
] 

ASF GitHub Bot commented on DISPATCH-1411:
------------------------------------------

kgiusti commented on pull request #586: DISPATCH-1411 - Added UTC datetime and router id to
all options of qd…
URL: https://github.com/apache/qpid-dispatch/pull/586#discussion_r335039472
 
 

 ##########
 File path: tools/qdstat.in
 ##########
 @@ -667,14 +723,27 @@ class BusManager(Node):
         for line in log:
             print("%s %s (%s) %s" % (ctime(line[5]), line[0], line[1], line[2]))
 
-    def show_all(self):
-        self.displayRouterLinks()
-        self.displayAddresses()
-        self.displayConnections()
-        self.displayAutolinks()
-        self.displayLinkRoutes()
-        self.displayGeneral()
-        self.displayMemory()
+    def show_all(self, show_summary=True):
+        if show_summary:
+            # print the datetime and router id
+            print (str(datetime.utcnow())  + " UTC")
+            self.displayRouterId()
+            print ("")
+
+        self.displayRouterLinks(show_date_id=False)
+        print ("")
 
 Review comment:
   woop!  Lotsa spaces after 'print' here!
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Add timestamp and router name to header of qdstat output
> --------------------------------------------------------
>
>                 Key: DISPATCH-1411
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1411
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 1.8.0
>            Reporter: Ken Giusti
>            Assignee: Ganesh Murthy
>            Priority: Major
>              Labels: troubleshooting
>
> Add a timestamp and the router's id to the header of the output of qdstat.
> This will allow us to correlate qdstat output with router log files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message