Fix non-compiling log.