Go to file
Tomasz Bursztyka a1aa08c288 net: ip: Improve logging by adding a dedicated sys_log level
Let's make net stack having its own level of debugging through sys_log.
It replaces NET_DEBUG by NET_LOG_ENABLED, which is then semantically
better: someone wanting to log the errors might want that not only for
debugging.

Along with it, CONFIG_NET_LOG_GLOBAL option is added, in order to enable
all available logging in network stack. It is disabled by default but
might be found useful when warning/errors need to be logged, so it is
then unnecessary to selectively enable by hand all CONFIG_NET_DEBUG_*
options.

It is possible, locally, to override CONFIG_SYS_LOG_NET_LEVEL by setting
the level one want to NET_SYS_LOG_LEVEL. This can be useful on samples
or tests.

Change-Id: I56a8f052340bc3a932229963cc69b39912093b88
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2017-01-02 10:03:20 +01:00
.known-issues
arch logging: move event_logger to subsys/logging 2016-12-25 14:34:43 -05:00
boards boards/arduino101: Enable GPIO 2016-12-25 19:16:37 +00:00
doc net: Restructure network protocols 2017-01-02 10:03:19 +01:00
drivers shell: move shell to its own subsystem 2016-12-25 19:35:11 +00:00
ext
include net: ip: Improve logging by adding a dedicated sys_log level 2017-01-02 10:03:20 +01:00
kernel logging: move event_logger to subsys/logging 2016-12-25 14:34:43 -05:00
lib net: Restructure network protocols 2017-01-02 10:03:19 +01:00
misc kernel: replace all remaining nanokernel occurances 2016-12-25 14:34:43 -05:00
samples net: ip: Improve logging by adding a dedicated sys_log level 2017-01-02 10:03:20 +01:00
scripts Revert "sanitycheck: reduce number of unnecessary configuration builds" 2016-12-30 09:43:48 -06:00
subsys net: ip: Improve logging by adding a dedicated sys_log level 2017-01-02 10:03:20 +01:00
tests net: ip: Improve logging by adding a dedicated sys_log level 2017-01-02 10:03:20 +01:00
.checkpatch.conf
.gitattributes
.gitignore
.gitreview
.mailmap
defaults.tc
Kbuild
Kconfig
Kconfig.zephyr
LICENSE
LICENSING.rst
MAINTAINERS kernel: replace all remaining nanokernel occurances 2016-12-25 14:34:43 -05:00
Makefile
Makefile.inc
release-notes.rst
zephyr-env.sh