extract #loggerNameMismatch to a constant