Logger instances initialized with a class literal other than the class the Logger
resides in.
This can happen when copy-pasting from another class. It may result in logging events under an unexpected category and incorrect filtering.
Use the inspection options to specify the logger factory classes and methods recognized by this inspection.
Example:
class AnotherService
class MyService {
private val logger = LoggerFactory.getLogger(AnotherService::class.java)
}
After the quick-fix is applied:
class MyService {
private val logger = LoggerFactory.getLogger(MyService::class.java)
}