Logging issues fixed.