use diff log level for diff error cdoe