findbugs-slf4j
                                
                                
                                
                                    findbugs-slf4j copied to clipboard
                            
                            
                            
                        SLF4J_FORMAT_SHOULD_BE_CONST mitigation
This is more a question that anything else, but what is a mitigation for e.g.
log.error(messageSource.getMessage("database.access.error", null, Locale.getDefault()), e);
so when the message really is coming from a method call or similar? Is there an alternative pattern other than to disable the warning in those instances? Thanks!