cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Federico Fernández (JIRA) <>
Subject [jira] [Commented] (CASSANDRA-13961) Safe castings to logback classes
Date Tue, 17 Oct 2017 12:36:00 GMT


Federico Fernández commented on CASSANDRA-13961:

Thanks [], closing this. Sorry for the extra work.

> Safe castings to logback classes
> --------------------------------
>                 Key: CASSANDRA-13961
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Federico Fernández
>            Priority: Minor
>              Labels: patch
>         Attachments: LogbackPatch.patch
> While working in an SBT plugin for I faced the problem: the system was injecting in the
classpath the log4j implementation for SLF4J. This caused a {{ClassCastException}} in the
startup process.
> Cassandra uses logback but IMHO we shouldn't fail at runtime if SLF4J loads another implementation.
Ideally, we should allow the users to choose their favourite implementation.
> I've attached a patch that adds a {{instanceof}} checkings before casting the logback
> Thanks.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message