Fix the log errors seen in the unit tests build.