helper function for test applications

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


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 

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 ?


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001.patch
URL: <>

More information about the dbus mailing list