optional debug logging. delayed message support