In a quick research I found there are ways to run log4j and logback run
together, but: could we allow this only for this module? something like
this:

subproject {
    if (!it.name.contains("cassandra-ticket-registry")) {
       exclude logback
    }
}

On Wed, 17 May 2017 at 18:55 David Rodriguez Gonzalez <
[email protected]> wrote:

>
> https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/cql3/functions/ThreadAwareSecurityManager.java
>  around
> line 92
>
> On Wed, 17 May 2017 at 18:53 Misagh Moayyed <[email protected]> wrote:
>
>> Could you post a link to
>> org.apache.cassandra.cql3.functions.ThreadAwareSecurityManager line 82?
>>
>>
>>
>> --Misagh
>>
>>
>>
>> *From:* [email protected] [mailto:[email protected]] *On Behalf Of *David
>> Rodriguez Gonzalez
>> *Sent:* Wednesday, May 17, 2017 6:47 AM
>> *To:* CAS Developer <[email protected]>
>> *Subject:* [cas-dev] Cassandra ticket registry
>>
>>
>>
>> Hi everyone,
>>
>>
>>
>> I have some news about cassandra ticket registry.
>>
>>
>>
>> First of all, I finally found the reason that makes test fail, and
>> submited a PR to the cassandra-unit project.
>>
>>
>>
>> Running tests locally with the new casssandra-unit version it still fails
>> because of Logback:
>>
>> java.lang.IllegalArgumentException: LoggerFactory is not a Logback
>> LoggerContext but Logback is on the classpath. Either remove Logback or the
>> competing implementation (class org.apache.logging.slf4j.Log4jLoggerFactory
>> loaded from
>> file:/home/davidrodriguez/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-slf4j-impl/2.8.2/36bc2a99b86be26ccdc51fe288458dc712d280c1/log4j-slf4j-impl-2.8.2.jar).
>> If you are using WebLogic you will need to add 'org.slf4j' to
>> prefer-application-packages in WEB-INF/weblogic.xml:
>> org.apache.logging.slf4j.Log4jLoggerFactory
>>
>>
>>
>>
>>
>> If you have a look
>> to org.apache.cassandra.cql3.functions.ThreadAwareSecurityManager line 82,
>> you will see that logback library is needed.
>>
>> Any ideas to work around this?
>>
>>
>>
>> Thanks!
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CAS Developer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/
>> .
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CAS Developer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

Reply via email to