zephyr/subsys/logging
Krzysztof Chruscinski 7b981e7372 logging: Fix lack of logging after startup
Commit ad28c2d6 introduced semaphore on which logger thread
pends. It is possible that log messages are created before
any backend is attached. In that case, logger thread pends
on semaphore with pending log messages and is not waken up
unless new log messages comes.

Fixed by setting semaphore when first backend is attached.
This wakes up logger thread and log messages can be processed.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2019-10-16 10:43:31 -07:00
..
CMakeLists.txt logging: add minimal implementation 2019-10-01 09:24:02 -04:00
Kconfig logging: add minimal implementation 2019-10-01 09:24:02 -04:00
Kconfig.template.log_config license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
log_backend_native_posix.c logging: Clean up log.h dependencies 2019-08-01 14:42:40 +02:00
log_backend_net.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
log_backend_qemu_x86_64.c logging: Add qemu_x86_64 backend 2019-07-18 18:16:39 -04:00
log_backend_rtt.c logging: Removing redundant code from RTT backend 2019-07-18 18:16:39 -04:00
log_backend_std.h logging: Add log_output flushing to synchronous processing 2019-10-01 18:11:39 -04:00
log_backend_swo.c logging: log_backend_swo: Get clock frequency from DTS 2019-07-24 15:10:02 +02:00
log_backend_uart.c logging: Removing redundant code from UART backend 2019-07-18 18:16:39 -04:00
log_backend_xtensa_sim.c logging: Removing redundant code from xtensa sim backend 2019-07-18 18:16:39 -04:00
log_cmds.c logging: Add string duplicates pool profiling 2019-05-27 10:18:10 +02:00
log_core.c logging: Fix lack of logging after startup 2019-10-16 10:43:31 -07:00
log_list.c
log_list.h
log_minimal.c logging: add minimal implementation 2019-10-01 09:24:02 -04:00
log_msg.c logging: Add option to block in thread context 2019-09-23 22:04:42 -07:00
log_output.c logging: Print hexdumps with 16 bytes in one line 2019-10-11 17:53:50 +02:00