[ 
https://issues.apache.org/jira/browse/GEODE-7427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971844#comment-16971844
 ] 

ASF subversion and git services commented on GEODE-7427:
--------------------------------------------------------

Commit 4db90634372a087942c0b5cada0f8cd3bb5ba8b2 in geode's branch 
refs/heads/develop from Jens Deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=4db9063 ]

GEODE-7427: Avoid failure when configuring DUnit suspect logging (#4304)

- Make sure that log4j is being used as the logging provider.


> Avoid failure when configuring DUnit suspect logging
> ----------------------------------------------------
>
>                 Key: GEODE-7427
>                 URL: https://issues.apache.org/jira/browse/GEODE-7427
>             Project: Geode
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Jens Deppe
>            Assignee: Jens Deppe
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Specifically, if {{log4j-to-slf4j}} is on the classpath, {{DUnitLauncher}} 
> will fail with a {{ClassCastException}}:
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.logging.slf4j.SLF4JLogger 
> cannot be cast to org.apache.logging.log4j.core.Logger
>       at 
> org.apache.geode.test.dunit.internal.DUnitLauncher.addSuspectFileAppender(DUnitLauncher.java:272)
>       at 
> org.apache.geode.test.dunit.internal.DUnitLauncher.init(DUnitLauncher.java:335)
>       at 
> org.apache.geode.test.dunit.internal.DUnitLauncher.launch(DUnitLauncher.java:225)
>       at 
> org.apache.geode.test.dunit.internal.DUnitLauncher.launchIfNeeded(DUnitLauncher.java:160)
>       ... 11 more
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to