Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
1.7.25, 1.8.0-beta2
-
None
Description
When using the Spock Framework (http://spockframework.org/) in combination with slf4j.detectLoggerNameMismatch you get logger mismatch messages like this:
SLF4J: Detected logger name mismatch. Given name: "org.example.MismatchTest"; computed name: "org.slf4j.LoggerFactory$getLogger". SLF4J: See http://www.slf4j.org/codes.html#loggerNameMismatch for an explanation
It seems that Spock does some magic with its test classes...
Sample maven project attached.