我試圖從Java應用程序中將log4j日誌插入到Cassandra中。我從http://www.datastax.com/docs/datastax_enterprise2.0/logging/log4j_logging獲得了log4j屬性的配置。如何將log4j日誌插入到cassandra中
我無法獲得com.datastax.logging.appender.CassandraAppender
。任何人都可以讓我知道從哪裏獲得Cassandra appender,或者有什麼方法可以整合log4j和Cassandra?
Log4j已經集成了cassandra.You只需要在類路徑中包含所有相關jar,並在運行程序時提供日誌配置文件的路徑。 – samarth