Skip to content

Commit 698acd3

Browse files
committed
Configure logger per concrete @DirtiesContext TestExecutionListener
1 parent f36327b commit 698acd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-test/src/main/java/org/springframework/test/context/support/AbstractDirtiesContextTestExecutionListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
*/
4949
public abstract class AbstractDirtiesContextTestExecutionListener extends AbstractTestExecutionListener {
5050

51-
private static final Log logger = LogFactory.getLog(AbstractDirtiesContextTestExecutionListener.class);
51+
private final Log logger = LogFactory.getLog(getClass());
5252

5353

5454
@Override

0 commit comments

Comments
 (0)