Home
last modified time | relevance | path

Searched full:logger (Results 1 – 25 of 204) sorted by relevance

123456789

/Zephyr-latest/scripts/logging/dictionary/
Dparserlib.py22 def parser(logdata, dbfile, logger): argument
27 if not isinstance(logger, logging.Logger):
28 raise ValueError("Invalid logger instance. Please configure the logger!")
31 logger.error("ERROR: Cannot open database file: exiting...")
35 logger.error("ERROR: cannot read log from file: exiting...")
40 logger.debug("# Build ID: %s", database.get_build_id())
41 logger.debug("# Target: %s, %d-bit", database.get_arch(), database.get_tgt_bits())
43 logger.debug("# Endianness: Little")
45 logger.debug("# Endianness: Big")
49 logger.error("ERROR: there were error(s) parsing log data")
[all …]
Dlog_parser_uart.py24 logger = logging.getLogger("parser") variable
43 logger.error("ERROR: invalid log database path: %s, exiting...", args.dbfile)
49 logger.setLevel(logging.DEBUG)
51 logger.setLevel(logging.INFO)
60 parserlib.parser(data, args.dbfile, logger)
/Zephyr-latest/scripts/coredump/
Dcoredump_gdbserver.py65 logger = logging.getLogger("parser")
67 logger.setLevel(logging.DEBUG)
69 logger.setLevel(logging.INFO)
71 logger.setLevel(logging.WARNING)
74 logger = logging.getLogger("gdbserver")
76 logger.setLevel(logging.DEBUG)
80 logger.setLevel(logging.INFO)
83 logger = logging.getLogger("gdbstub")
85 logger.setLevel(logging.DEBUG)
87 logger.setLevel(logging.INFO)
[all …]
/Zephyr-latest/tests/misc/llext-edk/pytest/
Dtest_edk.py15 logger = logging.getLogger(__name__) variable
21 logger.warning("ZEPHYR_SDK_INSTALL_DIR is not set, skipping test")
36 logger.info(output)
41 logger.debug(f"Copying llext-edk.tar.xz to {tempdir}")
46 logger.debug(f"Extracting llext-edk.tar.xz to {tempdir}")
49 logger.info(output)
53 logger.debug(f"Copying extension to {tempdir_extension}")
59 logger.debug(f"Copying file2hex.py to {tempdir_extension}")
70 logger.debug(f"Building extension in {tempdir_extension} - cmake")
73 logger.info(output)
[all …]
/Zephyr-latest/samples/sensor/sensor_shell/pytest/
Dtest_sensor_shell.py8 logger = logging.getLogger(__name__) variable
12 logger.info('send "sensor info" command')
18 logger.info('response is valid')
22 logger.info('send "sensor get" command')
35 logger.info('response is valid')
39 logger.info('send "sensor attr_get" command')
47 logger.info('response is valid')
51 logger.info('send "sensor attr_set" command')
61 logger.info('response is valid')
65 logger.info('send "sensor trig" command')
[all …]
/Zephyr-latest/tests/boot/with_mcumgr/pytest/
Dtest_upgrade.py15 logger = logging.getLogger(__name__) variable
57 logger.info('Prepare upgrade image')
62 logger.info('Upload image with mcumgr')
66 logger.info('Test uploaded APP image')
78 logger.info('Verify new APP is booted')
83 logger.info('Confirm the image')
92 logger.info('Verify new APP is still booted')
112 logger.info('Prepare upgrade image')
117 logger.info('Upload image with mcumgr')
121 logger.info('Test uploaded APP image')
[all …]
Dtest_downgrade_prevention.py14 logger = logging.getLogger(__name__) variable
37 logger.info('Prepare upgrade image with lower version')
41 logger.info('Upload image with mcumgr')
45 logger.info('Test uploaded APP image')
54 logger.info('Verify that the original APP is booted')
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/samples/pytest/shell/pytest/
Dtest_shell.py9 logger = logging.getLogger(__name__) variable
13 logger.info('send "help" command')
16 logger.info('response is valid')
20 logger.info('send "kernel version" command')
23 logger.info('response is valid')
/Zephyr-latest/samples/subsys/testsuite/pytest/shell/pytest/
Dtest_shell.py9 logger = logging.getLogger(__name__) variable
13 logger.info('send "help" command')
16 logger.info('response is valid')
20 logger.info('send "kernel version" command')
23 logger.info('response is valid')
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dlog_helper.py13 def log_command(logger, msg, args): argument
19 :param logger: logging.Logger to use
25 logger.debug(msg, str(args))
27 logger.debug(msg, shlex.join(args))
Dtwister_main.py24 logger = logging.getLogger("twister") variable
25 logger.setLevel(logging.DEBUG)
53 # add the handlers to logger
54 logger.addHandler(ch)
55 logger.addHandler(fh)
126 logger.error(f"{e}")
135 logger.error(f"{e}")
148 logger.debug(
164 logger.error("The report summary value cannot be less than 0")
176 logger.info(f"Completed in {duration} seconds")
[all …]
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/
Dtest_timer.py11 logger = logging.getLogger(__name__) variable
15 logger.info('====================================================')
16 logger.info(f'periodic timer behaviour using {test} mechanism:')
48 logger.info(f'min: {stats["min"] * 1_000_000:.6f} us')
49 logger.info(f'max: {stats["max"] * 1_000_000:.6f} us')
50 logger.info(f'mean: {stats["mean"] * 1_000_000:.6f} us')
51 logger.info(f'variance: {stats["var"] * 1_000_000:.6f} us')
52 logger.info(f'stddev: {stats["stddev"] * 1_000_000:.6f} us')
53 logger.info(f'total time: {stats["total_time"] * 1_000_000:.6f} us')
54 logger.info(f'expected drift: {seconds * max_drift_ppm} us')
[all …]
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Dutils.py20 def log_command(logger: logging.Logger, msg: str, args: list, level: int = logging.DEBUG) -> None: argument
28 :param logger: logging.Logger to use
35 logger.log(level, msg, str(args))
37 logger.log(level, msg, shlex.join(args))
Dhardware_adapter.py25 logger = logging.getLogger(__name__) variable
101 logger.error(msg)
108 logger.debug('Flashing device %s', self.device_config.id)
109 log_command(logger, 'Flashing command', self.command, level=logging.DEBUG)
118 logger.error(msg)
122 logger.error(msg)
132 logger.debug('Flashing finished')
135 logger.error(msg)
140 logger.debug('Opening serial connection for %s', serial_name)
151 logger.exception('Cannot open connection: %s', exc)
[all …]
/Zephyr-latest/samples/subsys/logging/dictionary/
Dsample.yaml5 sample.logger.basic.dictionary:
11 sample.logger.basic.dictionary.fpu:
20 sample.logger.basic.dictionary.fpu.long_double:
30 sample.logger.basic.dictionary.uart_async_frontend:
44 sample.logger.basic.dictionary.uart_frontend_rt:
60 sample.logger.basic.dictionary.uart_int_frontend:
/Zephyr-latest/samples/subsys/logging/logger/
Dsample.yaml3 name: logger sample
5 sample.logger.basic:
20 sample.logger.rtt:
32 sample.logger.bt:
48 sample.logger.usermode:
/Zephyr-latest/samples/subsys/logging/syst/
Dsample.yaml15 sample.logger.syst.deferred:
36 sample.logger.syst.immediate:
51 sample.logger.syst.catalog.deferred:
66 sample.logger.syst.catalog.immediate:
80 sample.logger.syst.deferred_cpp:
95 sample.logger.syst.immediate_cpp:
109 sample.logger.syst.catalog.deferred_cpp:
125 sample.logger.syst.catalog.immediate_cpp:
/Zephyr-latest/include/zephyr/logging/
Dlog_backend_ws.h37 * @brief Get the websocket logger backend
39 * @details This function returns the websocket logger backend.
41 * @return Pointer to the websocket logger backend.
46 * @brief Start the websocket logger backend
48 * @details This function starts the websocket logger backend.
Dlog_backend_std.h18 * @brief Logger backend interface for forwarding to standard backend
19 * @defgroup log_backend_std Logger backend standard interface
20 * @ingroup logger
43 /** @brief Put a standard logger backend into panic mode.
53 /** @brief Report dropped messages to a standard logger backend.
Dlog_backend_net.h22 * the net logger backend context is running, it'll release it and create another one with
36 * the net logger backend context is running, it'll release it and create another one with
65 * @brief Get the net logger backend
67 * @details This function returns the net logger backend.
69 * @return Pointer to the net logger backend.
74 * @brief Start the net logger backend
76 * @details This function starts the net logger backend.
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/resources/
Dfifo_mock.py21 self.logger = logging.getLogger(__name__)
24 self.logger.info(f'Creating fifo file: {self.filename}')
29 self.logger.error(f'Did not able create fifo file: {self.filename}')
32 self.logger.info(f'File created: {self.filename}')
50 self.logger.info(f'Closed file: {self.filename}')
67 logger = logging.getLogger(__name__)
68 logger.info('Start')
/Zephyr-latest/scripts/coredump/coredump_parser/
Dlog_parser.py31 logger = logging.getLogger("parser") variable
107 logger.error(f"Memory block version: {hdr_ver}, expected {COREDUMP_MEM_HDR_VER}!")
129 logger.info("Memory: 0x%x to 0x%x of size %d" %
143 logger.error("Log header ID not found...")
147 logger.error(f"Log version: {hdr_ver}, expected: {COREDUMP_HDR_VER}!")
160 logger.info("Reason: {0}".format(reason_string(reason)))
161 logger.info(f"Pointer size {ptr_size}")
174 logger.error("Cannot parse architecture section")
178 logger.error("Cannot parse threads metadata section")
182 logger.error("Cannot parse memory section")
[all …]
/Zephyr-latest/tests/net/socket/tls_configurations/pytest/
Dtest_app_vs_openssl.py10 logger = logging.getLogger(__name__) variable
55 logger.info("Server type: " + server_type)
57 logger.info("Launch command:")
63 logger.error("Server startup failed. Here's the logs from OpenSSL:")
65 logger.error(line)
68 logger.info("Server is up")
75 logger.info("Launch Zephyr application")
79 logger.info("Kill server")
/Zephyr-latest/tests/lib/devicetree/memory_region_flags/pytest/
Dtest_memory_region_flags.py16 logger = logging.getLogger(__name__) variable
27 logger.info(label)
30 logger.info(linkercmd)
38 logger.info(node)
41 logger.info(region)
50 logger.info(pattern)
/Zephyr-latest/samples/subsys/profiling/perf/pytest/
Dtest_perf.py12 logger = logging.getLogger(__name__) variable
19 logger.info('send "perf record 200 99" command')
23 logger.info('response is valid')
25 logger.info('send "perf printbuf" command')

123456789