/openbmc/openbmc-build-scripts/scripts/ |
H A D | get_unit_test_report.py | 164 logger.addHandler(file_handler) 173 logger.error(str(e)) 184 logger.debug(output) 186 logger.error(e.output) 187 logger.error(e.cmd) 210 logger.error(resp) 242 logger.debug(url_info) 405 logger.info(res) 410 logger.info("*" * 85) 411 logger.info("SUMMARY: ") [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | yocto-check-layer | 88 logger.addHandler(fh) 90 logger.setLevel(logging.DEBUG) 92 logger.setLevel(logging.ERROR) 115 logger.debug("Found additional layers:") 118 logger.debug("Found dependency layers:") 126 logger.info("Detected layers:") 184 logger.info('') 216 logger.info(str(e)) 237 logger.info('') 238 logger.info('Summary of results:') [all …]
|
H A D | install-buildtools | 67 logger.error("You have Python %s.%s" % 179 logger.setLevel(logging.DEBUG) 181 logger.setLevel(logging.ERROR) 278 logger.info("Making installer executable") 281 logger.debug(os.stat(tmpbuildtools)) 294 logger.info("Setting up the environment") 309 logger.info("Testing installation") 312 logger.debug("extended regex: %s" % m) 324 logger.debug("cmd: %s" % cmd) 325 logger.debug("tool: %s" % tool) [all …]
|
H A D | oe-publish-sdk | 25 logger = scriptutils.logger_create('sdktool') variable 35 logger.debug("In publish function") 43 logger.error("Specified SDK %s doesn't exist" % target_sdk) 59 logger.debug("Making sure the destination directory exists") 70 logger.info("Copying the SDK to destination") 82 logger.error("scp %s %s failed" % (target_sdk, destination)) 86 logger.info("Unpacking SDK") 115 logger.info('SDK published successfully') 117 logger.error('Failed to set up layer git repo') 135 logger.setLevel(logging.DEBUG) [all …]
|
H A D | runqemu | 38 logger = logging.getLogger('runqemu') 39 logger.setLevel(logging.INFO) 52 logger.addHandler(ch) 54 return logger 56 logger = create_logger() variable 237 logger.error(msg) 239 logger.info(msg) 283 logger.info(msg) 1161 logger.error("ip: %s" % ip) 1618 logger.info("Cleaning up") [all …]
|
H A D | combo-layer | 30 logger = logging.getLogger("") 33 logger.addHandler(loggerhandler) 34 logger.setLevel(logging.INFO) 35 return logger 37 logger = logger_create() variable 186 logger.error("%s" % err.read()) 610 logger.info(output) 615 logger.info(output) 618 logger.info(output) 867 logger.debug("action_splitpatch") [all …]
|
H A D | recipetool | 21 logger = scriptutils.logger_create('recipetool') variable 29 tinfoil.logger.setLevel(logger.getEffectiveLevel()) 36 …logger.error("This script can only be run after initialising the build environment (e.g. by using … 56 logger.setLevel(logging.DEBUG) 58 logger.setLevel(logging.ERROR) 63 logger.error("Unable to find bitbake by searching parent directory of this script or PATH") 65 logger.debug('Found bitbake path: %s' % bitbakepath) 68 scriptutils.logger_setup_color(logger, global_args.color) 75 scriptutils.load_plugins(logger, plugins, pluginpath) 90 logger.error("No commands registered - missing plugins?")
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | httpserver.py | 16 def server_start(self, root_dir, logger): argument 18 self.logger = logger 24 self.server.logger.info(format_str, *args) 28 def __init__(self, root_dir, host='', port=0, logger=None): argument 32 if logger: 33 self.logger = logger.getChild("HTTPService") 35 self.logger = logging.getLogger("HTTPService") 61 if self.logger: 71 if self.logger: 77 logger = logging.getLogger(__name__) variable [all …]
|
H A D | qemurunner.py | 84 self.logger = logger 168 self.logger.debug('Using kvm for runqemu') 239 self.logger.debug('launchcmd=%s' % (launch_cmd)) 293 self.logger.warning("runqemu after timeout") 432 self.logger.debug("Target IP: %s" % self.ip) 618 self.logger.warning("Restarting qemu process") 732 self.logger = logger 754 self.logger.debug("Starting logging thread") 759 self.logger.debug("Stopping logging thread") 764 self.logger.debug("Tearing down logging thread") [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_log.c | 71 if (log == logger) in nf_log_unset() 97 rcu_assign_pointer(loggers[i][logger->type], logger); in nf_log_register() 103 rcu_assign_pointer(loggers[pf][logger->type], logger); in nf_log_register() 120 if (log == logger) in nf_log_unregister() 175 if (logger == NULL) in nf_logger_find_get() 198 if (!logger) in nf_logger_put() 225 if (logger) { in nf_log_packet() 249 if (logger) { in nf_log_trace() 355 if (!logger) in seq_show() 434 if (logger == NULL) { in nf_log_proc_dostring() [all …]
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_usbpd_logger.c | 173 struct device *dev = logger->dev; in cros_usbpd_log_check() 179 r = ec_get_log_entry(logger); in cros_usbpd_log_check() 191 queue_delayed_work(logger->log_workqueue, &logger->log_work, in cros_usbpd_log_check() 199 struct logger_data *logger; in cros_usbpd_logger_probe() local 201 logger = devm_kzalloc(dev, sizeof(*logger), GFP_KERNEL); in cros_usbpd_logger_probe() 202 if (!logger) in cros_usbpd_logger_probe() 205 logger->dev = dev; in cros_usbpd_logger_probe() 206 logger->ec_dev = ec_dev; in cros_usbpd_logger_probe() 213 if (!logger->log_workqueue) in cros_usbpd_logger_probe() 216 queue_delayed_work(logger->log_workqueue, &logger->log_work, in cros_usbpd_logger_probe() [all …]
|
/openbmc/openbmc-test-automation/ffdc/ |
H A D | ffdc_collector.py | 169 self.logger = None 220 self.logger.info( 223 self.logger.info( 226 self.logger.info( 231 self.logger.info( 234 self.logger.info( 237 self.logger.info( 296 self.logger.info( 318 self.logger.info( 403 self.logger.info( [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ui/ |
H A D | toasterui.py | 34 logger = logging.getLogger("ToasterLogger") variable 74 logger.addHandler(build_log) 83 logger.removeHandler(build_log) 149 logger.addHandler(console) 150 logger.setLevel(logging.INFO) 174 logger.error(cmdline['msg']) 274 logger.info(event.msg) 294 logger.handle(event) 315 logger.info(str(event)) 321 logger.error(text) [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/support/ |
H A D | httpserver.py | 15 def server_start(self, root_dir, logger): argument 26 def __init__(self, root_dir, host='', port=0, logger=None): argument 30 if not logger: 31 logger = logging.getLogger() 32 self.logger = logger 37 …self.logger.info("Not starting HTTPService for directory %s which doesn't exist" % (self.root_dir)) 43 …ocess = multiprocessing.Process(target=self.server.server_start, args=[self.root_dir, self.logger]) 53 if self.logger: 54 self.logger.info("Started HTTPService on %s:%s" % (self.host, self.port)) 63 if self.logger: [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/asyncrpc/ |
H A D | serv.py | 36 self.logger = ClientLoggerAdapter( 37 logger, 66 self.logger.debug( 103 self.logger.info(str(e)) 105 self.logger.error(str(e)) 122 def __init__(self, handler, logger): argument 124 self.logger = logger 216 self.logger = logger 260 def __init__(self, logger): argument 261 self.logger = logger [all …]
|
/openbmc/openbmc/poky/scripts/lib/resulttool/ |
H A D | regression.py | 152 def can_be_compared(logger, base, target): argument 267 def get_results(logger, source): argument 270 def regression(args, logger): argument 271 base_results = get_results(logger, args.base_result) 272 target_results = get_results(logger, args.target_result) 274 regression_common(args, logger, base_results, target_results) 279 def fixup_ptest_names(results, logger): argument 305 fixup_ptest_names(base_results, logger) 306 fixup_ptest_names(target_results, logger) 345 def regression_git(args, logger): argument [all …]
|
/openbmc/qemu/tests/avocado/ |
H A D | reverse_debugging.py | 39 logger = logging.getLogger('replay') 43 logger.info('recording the execution...') 103 logger = logging.getLogger('replay') 131 logger.info('connecting to gdbstub') 142 logger.info('stepping forward') 147 logger.info('saving position %x' % pc) 152 logger.info('stepping backward') 159 logger.info('stepping forward') 166 logger.info('setting breakpoints') 173 logger.info('continuing execution') [all …]
|
/openbmc/openbmc/poky/documentation/tools/ |
H A D | update-documentation-conf | 21 logger = logging.getLogger(name) 24 logger.addHandler(loggerhandler) 25 logger.setLevel(logging.INFO) 26 return logger 27 logger = logger_create('docconfupdater') 37 logger.setLevel(logging.WARN) 40 logger.error('Specified base path %s not found') 45 logger.error('Unable to find %s' % doc_conf) 75 logger.error('ERROR: Unable to find any info tags in the glossary') 139 logger.info('Updating %s' % doc_conf) [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bblayers/ |
H A D | layerindex.py | 16 logger = logging.getLogger('bitbake-layers') variable 45 logger.error("Failed to download %s (%s)" % (url, branch)) 50 logger.plain("Repository %s needs to be fetched" % url) 80 logger.error("%s is not in %s" % (url, subdir)) 109 logger.debug('Trying branches: %s' % branches) 131 logger.error("Cannot get BBLAYERS_LAYERINDEX_URL") 137 logger.plain("Loading %s..." % remoteurl) 154 logger.plain('=' * 125) 175 logger.plain('%s %s %s' % (("%s:%s:%s" % 184 logger.plain(' required by: %s' % ' '.join(requiredby)) [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/ |
H A D | runner.py | 19 def __init__(self, logger): argument 20 self.logger = logger 35 for handler in self.logger.handlers: 83 self.tc.logger.info("SUMMARY:") 93 self.tc.logger.info(msg) 223 self.tc.logger.info("RESULTS:") 228 self.tc.logger.info(l) 271 def _list_cases(logger, case): argument 283 self.tc.logger.info("-" * 80) 285 self.tc.logger.info("-" * 80) [all …]
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | runqemu | 38 logger = logging.getLogger('runqemu') 39 logger.setLevel(logging.INFO) 52 logger.addHandler(ch) 54 return logger 56 logger = create_logger() variable 237 logger.error(msg) 239 logger.info(msg) 283 logger.info(msg) 1161 logger.error("ip: %s" % ip) 1618 logger.info("Cleaning up") [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/target/ |
H A D | ssh.py | 19 if not logger: 20 logger = logging.getLogger('target') 21 logger.setLevel(logging.INFO) 28 logger.addHandler(fileHandler) 30 super(OESSHTarget, self).__init__(logger) 62 self.logger.debug("[Running]$ %s" % " ".join(command)) 65 status, output = SSHCall(command, self.logger, timeout) 209 def SSHCall(command, logger, timeout=None, **opts): argument 237 logger.debug('InterruptedError') 240 logger.debug('BlockingIOError') [all …]
|
/openbmc/openbmc/poky/bitbake/bin/ |
H A D | bitbake-diffsigs | 27 logger = bb.msg.logger_create(myname) variable 46 logger.error(str(event)) 51 logger.handle(event) 53 logger.error('No result returned from findSigInfo command') 158 logger.setLevel(logging.DEBUG) 172 logger.debug("Signature file: %s" % files[-1]) 181 logger.debug("Signature file (previous): %s" % files[-2]) 182 logger.debug("Signature file (latest): %s" % files[-1]) 186 logger.error('-s/--signature can only be used together with -t/--task') 196 logger.error('Must specify signature file(s) or -t/--task') [all …]
|
H A D | bitbake-dumpsig | 27 logger = bb.msg.logger_create(myname) variable 46 logger.error(str(event)) 51 logger.handle(event) 53 logger.error('No result returned from findSigInfo command') 158 logger.setLevel(logging.DEBUG) 172 logger.debug("Signature file: %s" % files[-1]) 181 logger.debug("Signature file (previous): %s" % files[-2]) 182 logger.debug("Signature file (latest): %s" % files[-1]) 186 logger.error('-s/--signature can only be used together with -t/--task') 196 logger.error('Must specify signature file(s) or -t/--task') [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | manifest.py | 28 self.logger.debug("{}: looking for {}"\ 32 self.logger.debug("{}: {} not found"\ 35 self.logger.debug("{}: checking of {} failed"\ 62 self.logger.debug("{} Failed to setup {}"\ 77 self.logger.debug("{} Failed to bitbake {}"\ 117 self.logger.debug("{}: Check manifest {}".format( 126 self.logger.debug(logmsg) 127 self.logger.info(msg) 156 self.logger.debug("{}: Check manifest {}"\ 164 self.logger.debug(logmsg) [all …]
|