[PATCH 0/2] Debug log control API

2015-01-19 Thread Slava Monich
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


Re: [PATCH 0/2] Debug log control API

2015-01-19 Thread Jason Abele
On Mon, Jan 19, 2015 at 2:41 PM, Slava Monich slava.mon...@jolla.com
wrote:

 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()


Tested these out and it works for my application ... thanks!

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