Use log and error of util.