Bug 1263436 - Show artifact build download progress by default. r=nalexander draft
authorChris Manchester <cmanchester@mozilla.com>
Mon, 11 Apr 2016 16:39:11 -0700
changeset 349570 24490750a953dc9596118475d298a2115d66b3ad
parent 349483 0c6c4ace742a3f180ddc319f150e2f8b94a4d988
child 518147 f4a656767c8f73dd10a3d87d35ff380bd11df973
push id15136
push usercmanchester@mozilla.com
push dateMon, 11 Apr 2016 23:41:04 +0000
reviewersnalexander
bugs1263436
milestone48.0a1
Bug 1263436 - Show artifact build download progress by default. r=nalexander MozReview-Commit-ID: 2kdEx87MRQm
python/mozbuild/mozbuild/artifacts.py
--- a/python/mozbuild/mozbuild/artifacts.py
+++ b/python/mozbuild/mozbuild/artifacts.py
@@ -682,17 +682,17 @@ class ArtifactCache(CacheManager):
             dl = self._download_manager.download(url, fname)
 
             def download_progress(dl, bytes_so_far, total_size):
                 percent = (float(bytes_so_far) / total_size) * 100
                 now = int(percent / 5)
                 if now == self._last_dl_update:
                     return
                 self._last_dl_update = now
-                self.log(logging.DEBUG, 'artifact',
+                self.log(logging.INFO, 'artifact',
                          {'bytes_so_far': bytes_so_far, 'total_size': total_size, 'percent': percent},
                          'Downloading... {percent:02.1f} %')
 
             if dl:
                 dl.set_progress(download_progress)
                 dl.wait()
             self.log(logging.INFO, 'artifact',
                 {'path': os.path.abspath(mozpath.join(self._cache_dir, fname))},