DebugTracingCleanup
We need to try to get rid of DPRINTF. Currently, the debug layer is smart enough to concatenate consecutive TRACE statements if they don't end with a new line. As such, we can replace most (see exception) DPRINTF statements with TRACEs. The conversion is mostly mechanical, but must be checked manually to watch for potential simplifications that may be possible with the new scheme.
Exception
The relay traces are different. Those cannot use TRACE and have to use DPRINTF! This code is OK:
if (TRACE_ON(relay))
DPRINTF(...);
Status
Workers: TonyLambregts, DiegoPetteno, AndrewRiedi.
