add logger compare