helper function for test applications

Ralf Habacker ralf.habacker at freenet.de
Tue Mar 9 13:20:17 PST 2010


Hi,

while hunting a bug in the message dispatch test of bus-test it is 
required to have verbose printing.  The current way is to use the 
DBUS_VERBOSE environment variable.
The drawback with this environment variable is that it produces very 
huge log files and makes the test application very slow at least on 
windows.

The appended patch adds an internal function 
_dbus_set_verbose(dbus_bool_t state)  which makes is possible to 
enable/disable verbose printing from the code on places where it is 
really required and helps to save time.

Are the any objections, which would prevent that this patch could be 
commited ?

Regards
  Ralf






-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001.patch
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100309/7e68d28a/attachment.ksh>


More information about the dbus mailing list