Compile module_logging at -Os
Disable debug_units in module logging by default
Make debug_printf in module_logging use a buffer to deliver messages unfragmented.