mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-13 15:34:01 +00:00
Bug 1085318 - [mozdevice] Change the log level within DeviceManagerADB.getInfo to DEBUG. r=wlachance
This commit is contained in:
parent
45023e2ed9
commit
9940acb270
@ -522,7 +522,7 @@ class DeviceManagerADB(DeviceManager):
|
||||
key, value = line.split(":")
|
||||
meminfo[key] = value.strip()
|
||||
ret["memtotal"] = meminfo["MemTotal"]
|
||||
self._logger.info(ret)
|
||||
self._logger.debug("getInfo: %s" % ret)
|
||||
return ret
|
||||
|
||||
def uninstallApp(self, appName, installPath=None):
|
||||
|
@ -134,10 +134,14 @@ class DMCli(object):
|
||||
self.parser = argparse.ArgumentParser()
|
||||
self.add_options(self.parser)
|
||||
self.add_commands(self.parser)
|
||||
mozlog.structured.commandline.add_logging_group(self.parser)
|
||||
|
||||
def run(self, args=sys.argv[1:]):
|
||||
args = self.parser.parse_args()
|
||||
|
||||
mozlog.structured.commandline.setup_logging(
|
||||
'mozdevice', args, {'mach': sys.stdout})
|
||||
|
||||
if args.dmtype == "sut" and not args.host and not args.hwid:
|
||||
self.parser.error("Must specify device ip in TEST_DEVICE or "
|
||||
"with --host option with SUT")
|
||||
|
Loading…
x
Reference in New Issue
Block a user