Tiny log configuration in code via Configurator.
Fix integer overflow in memory size computation.
Improve debug message.