All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/6] log: syslog logging driver
@ 2020-02-17  6:43 Heinrich Schuchardt
  2020-02-17  6:43 ` [PATCH v4 1/6] log: correct CONFIG_LOG_TEST prerequisites Heinrich Schuchardt
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Heinrich Schuchardt @ 2020-02-17  6:43 UTC (permalink / raw)
  To: u-boot

This patch series provides a logging driver to send syslog messages via
UDP port 514 to a syslog server and a unit test for the syslog driver.
For testing LOG_SYSLOG is enabled on the sandbox.

For CONFIG_LOG=n a patch enables printf() or debug() output for log_*
functions. A unit test for this use case is provided.

v4:
	correct syslog test (expect 'uboot:' not 'uboot[1]:')
	provide more comments for syslog test

Heinrich Schuchardt (6):
  log: correct CONFIG_LOG_TEST prerequisites
  log: syslog driver
  log: output for CONFIG_LOG=n
  test: log functions with CONFIG_LOG=n
  test: log: test syslog logging driver
  configs: sandbox: enable LOG_SYSLOG

 MAINTAINERS                        |   4 +-
 common/Kconfig                     |   9 +-
 common/Makefile                    |   1 +
 common/log_syslog.c                | 117 ++++++++++++
 configs/sandbox64_defconfig        |   1 +
 configs/sandbox_defconfig          |   1 +
 configs/sandbox_flattree_defconfig |   1 +
 doc/README.log                     |   3 +
 include/log.h                      |  10 +-
 include/test/log.h                 |  16 ++
 include/test/suites.h              |   1 +
 test/Kconfig                       |   9 +
 test/Makefile                      |   2 +-
 test/cmd_ut.c                      |   6 +
 test/log/Makefile                  |  14 ++
 test/log/nolog_test.c              | 135 ++++++++++++++
 test/log/syslog_test.c             | 280 +++++++++++++++++++++++++++++
 test/log/test-main.c               |  20 +++
 18 files changed, 621 insertions(+), 9 deletions(-)
 create mode 100644 common/log_syslog.c
 create mode 100644 include/test/log.h
 create mode 100644 test/log/nolog_test.c
 create mode 100644 test/log/syslog_test.c
 create mode 100644 test/log/test-main.c

--
2.25.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-02-17  6:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-17  6:43 [PATCH v4 0/6] log: syslog logging driver Heinrich Schuchardt
2020-02-17  6:43 ` [PATCH v4 1/6] log: correct CONFIG_LOG_TEST prerequisites Heinrich Schuchardt
2020-02-17  6:43 ` [PATCH v4 2/6] log: syslog driver Heinrich Schuchardt
2020-02-17  6:43 ` [PATCH v4 3/6] log: output for CONFIG_LOG=n Heinrich Schuchardt
2020-02-17  6:43 ` [PATCH v4 4/6] test: log functions with CONFIG_LOG=n Heinrich Schuchardt
2020-02-17  6:43 ` [PATCH v4 5/6] test: log: test syslog logging driver Heinrich Schuchardt
2020-02-17  6:43 ` [PATCH v4 6/6] configs: sandbox: enable LOG_SYSLOG Heinrich Schuchardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.