mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-01 19:36:36 +00:00
Syslog may be output via services such as DFX. When debugging the init component (e.g., service startup failures, including DFX-related exceptions), syslog may not be output properly. Add a debug Kconfig option SYSTEM_NXINIT_STDOUT that redirects all init log macros (init_debug/info/warn/err) to printf instead of syslog. This is useful for early boot debugging when syslog is not yet available or serial console shows no output. Introduce init_log_output() macro as the common log backend, selected at compile time between printf (with appended newline) and syslog. Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com> |
||
|---|---|---|
| .. | ||
| test | ||
| action.c | ||
| action.h | ||
| builtin.c | ||
| builtin.h | ||
| CMakeLists.txt | ||
| import.c | ||
| import.h | ||
| init.c | ||
| init.h | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||
| parser.c | ||
| parser.h | ||
| property.h | ||
| property_simple.c | ||
| service.c | ||
| service.h | ||