Potential fix for logging deadlock in _debugI.