These patches introduce net.connman.DebugLog D-Bus interface
which provides the following methods:

  void Enable(string pattern)
  void Disable(string pattern)
  array{string} List()

This interface allows changing debug log settings at runtime
without restarting connman. It's useful in the situations when
connman breaks in the production environment, where logs are
not enabled at startup.

By default this plugin is not compiled in. It needs to be
explicitely enabled with --enable-logcontrol configure switch.

Slava Monich (2):
  plugins: Add logcontrol plugin
  doc: Add net.connman.DebugLog API documentation

 Makefile.plugins       |   5 ++
 configure.ac           |   5 ++
 doc/logcontrol-api.txt |  22 ++++++
 plugins/logcontrol.c   | 198 +++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 230 insertions(+)
 create mode 100644 doc/logcontrol-api.txt
 create mode 100644 plugins/logcontrol.c

-- 
1.8.3.2

_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to