Bug 1040079 - Change logging level for chmod operations for mozdevice. DONTBUILD. r=wlach
authorArmen Zambrano Gasparnian <armenzg@mozilla.com>
Tue, 27 Jan 2015 15:20:09 -0500
changeset 239498 fabb44ffd5d054c43c88ac5a6d367754a63f092e
parent 239497 ce00599c23e252f57ee4b7a6211c5553f05afb9a
child 239499 18b38a86c2637dc97c6c472e742e6bda916e4ec5
push id500
push userjoshua.m.grant@gmail.com
push dateThu, 29 Jan 2015 01:48:36 +0000
reviewerswlach
bugs1040079
milestone38.0a1
Bug 1040079 - Change logging level for chmod operations for mozdevice. DONTBUILD. r=wlach
testing/mozbase/mozdevice/mozdevice/devicemanagerADB.py
--- a/testing/mozbase/mozdevice/mozdevice/devicemanagerADB.py
+++ b/testing/mozbase/mozdevice/mozdevice/devicemanagerADB.py
@@ -615,20 +615,20 @@ class DeviceManagerADB(DeviceManager):
             for f in files:
                 remoteEntry = remoteDir.strip() + "/" + f.strip()
                 if (self.dirExists(remoteEntry)):
                     self.chmodDir(remoteEntry)
                 else:
                     self._checkCmd(["shell", "chmod", mask, remoteEntry])
                     self._logger.info("chmod %s" % remoteEntry)
             self._checkCmd(["shell", "chmod", mask, remoteDir])
-            self._logger.info("chmod %s" % remoteDir)
+            self._logger.debug("chmod %s" % remoteDir)
         else:
             self._checkCmd(["shell", "chmod", mask, remoteDir.strip()])
-            self._logger.info("chmod %s" % remoteDir.strip())
+            self._logger.debug("chmod %s" % remoteDir.strip())
 
     def _verifyADB(self):
         """
         Check to see if adb itself can be executed.
         """
         if self._adbPath != 'adb':
             if not os.access(self._adbPath, os.X_OK):
                 raise DMError("invalid adb path, or adb not executable: %s" % self._adbPath)