How can I limit the size of Kontact/Akonadi debug output?

Kontact and Akonadi log a lot of data on stdout if started in a console. If that output is collected in a logfile, then the amount of data can become problematic. The way to reduce the amount of debug messages printed is by using kdebugdialog┬áto disable debugoutput for the relevant components. Searching for e.g. “akonadi” […]