logback.xml

The logback.xml file allows for configuration of (some of) Cassandra's logging outputs. One of the main sections of this file is the system log appender, as follows:

<appender name="SYSTEMLOG" class="ch.qos.logback.core.rolling.RollingFileAppender">   <filter class="ch.qos.logback.classic.filter.ThresholdFilter">     <level>INFO</level>   </filter>   <file>${cassandra.logdir}/system.log</file>   <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">     <fileNamePattern>${cassandra.logdir}/system.log.%i.zip</fileNamePattern>     <minIndex>1</minIndex>     <maxIndex>20</maxIndex>   </rollingPolicy>   <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">     <maxFileSize>20MB</maxFileSize>   </triggeringPolicy> <encoder> ...

Get Mastering Apache Cassandra 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.