Fixed extensive logging for coverage.