allow command logging via booleans
Fix indentation
Add debug output to the mocked CAF::Process