Ensure status server logs go to log file
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jan 2017 00:56:28 +0000 (00:56 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jan 2017 00:56:28 +0000 (00:56 +0000)
https://bugs.webkit.org/show_bug.cgi?id=167210

Reviewed by Alexey Proskuryakov.

* Scripts/webkitpy/common/net/statusserver.py:
(StatusServer.next_work_item): Change log level from debug to info in
order to facilitate deubgging issues.
(StatusServer.update_work_items): Same.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210944 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/common/net/statusserver.py

index c93baab..eca1542 100644 (file)
@@ -1,3 +1,15 @@
+2017-01-19  Aakash Jain  <aakash_jain@apple.com>
+
+        Ensure status server logs go to log file
+        https://bugs.webkit.org/show_bug.cgi?id=167210
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Scripts/webkitpy/common/net/statusserver.py:
+        (StatusServer.next_work_item): Change log level from debug to info in
+        order to facilitate deubgging issues.
+        (StatusServer.update_work_items): Same.
+
 2017-01-19  Megan Gardner  <megan_gardner@apple.com>
 
         Additional selection tests and interpolation fix
index 2727deb..5654778 100644 (file)
@@ -123,7 +123,7 @@ class StatusServer:
         return NetworkTransaction().run(lambda: self._post_work_item_to_ews(attachment_id))
 
     def next_work_item(self, queue_name):
-        _log.debug("Fetching next work item for %s" % queue_name)
+        _log.info("Fetching next work item for %s" % queue_name)
         next_patch_url = "%s/next-patch/%s" % (self.url, queue_name)
         return self._fetch_url(next_patch_url)
 
@@ -152,7 +152,7 @@ class StatusServer:
         return NetworkTransaction(convert_404_to_None=True).run(lambda: self._post_release_lock(queue_name, patch))
 
     def update_work_items(self, queue_name, high_priority_work_items, work_items):
-        _log.debug("Recording work items: %s for %s" % (high_priority_work_items + work_items, queue_name))
+        _log.info("Recording work items: %s for %s" % (high_priority_work_items + work_items, queue_name))
         return NetworkTransaction().run(lambda: self._post_work_items_to_server(queue_name, high_priority_work_items, work_items))
 
     def update_status(self, queue_name, status, patch=None, results_file=None):