Fixed the log errors seen in th unit test build.