zephyr/doc/subsystems
Marti Bolivar 55327a183d logging: fix runtime filtering initialization
The runtime filters (both aggregated and per-backend) are all getting
initialized to the default level CONFIG_LOG_DEFAULT_LEVEL. This is not
correct behavior: the initial runtime setting for each source ID
should match its compile-time level setting.

Otherwise, setting CONFIG_LOG_RUNTIME_FILTERING=y changes the logging
behavior for messages that pass the compile time filter check, but not
the runtime check (this currently happens when LOG_LEVEL=4, since
CONFIG_LOG_DEFAULT_LEVEL=3).

Fix this by initializing all filters to their module's compile time
settings. Also make sure that filters are set up before backends are
activated, to avoid race conditions.

Fix a stray documentation typo while we are here.

Signed-off-by: Marti Bolivar <marti@foundries.io>
2018-08-02 19:18:05 +02:00
..
bluetooth
logging logging: fix runtime filtering initialization 2018-08-02 19:18:05 +02:00
networking doc: net: gptp: Enhance gPTP documentation 2018-07-06 19:19:26 -04:00
nvs doc: fix missing NVS API documentation 2018-05-19 09:22:14 +03:00
settings doc/subsystem/settings: fix wrong settings_handler field names 2018-05-11 16:53:57 -04:00
test sanitycheck: control coverage from command line 2018-07-03 08:36:06 -04:00
usb doc: Add USB documentation identifiers and links 2018-04-12 14:03:00 -04:00
c_library.rst
dfu.rst doc: subsys: Remove unnecessary subsystem from titles 2018-04-06 07:30:33 -04:00
mgmt.rst doc: subsys: Remove unnecessary subsystem from titles 2018-04-06 07:30:33 -04:00
power_management.rst
sensor.rst
shell.rst doc: fix misspellings in docs 2018-06-01 09:01:43 -04:00
subsystems.rst subsys: fs: Add Non Volatile Storage (NVS) for zephyr 2018-05-15 10:29:16 +02:00