Revamp logging to allow switching OFF of debug output