What is the correct way to initialize Slf4j LoggerFactory.getLogger? I have in my code
static final Logger logger = LoggerFactory.getLogger(MyClass.class);
But sonarqube code analysis marks this code as major error: "Rename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'"
What is wrong?