Verbose builds slow

Havoc Pennington hp at redhat.com
Fri Oct 21 08:07:41 PDT 2005


On Tue, 2005-10-18 at 11:54 -0400, John (J5) Palmieri wrote:
> Doesn't it already produce a warning?  If not it should.  

Yep:

if test x$enable_verbose_mode = xyes; then
        echo "NOTE: building with verbose mode increases library size,
may slightly increase security risk, and decreases performance."
fi

Basically the default configure.in settings are intended for a
production build in a distribution package. Probably distributions
should not be changing the settings for things like assertions,
verbosity, etc. unless they want to see "issues"

It's possible we should split dbus_verbose into a dbus_debug and a
dbus_log, and use dbus_log for only a few useful things:
 - log each message and where it was sent/rejected and why
 - log security policy processing so people can debug/develop 
   policies
 - log any errors

Then dbus_log could be enabled in production builds. Patches
welcome! ;-)

Havoc




More information about the dbus mailing list