You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Rakesh Kumar <dc...@aim.com> on 2016/03/01 16:43:02 UTC

Disable writing to debug.log

Version: Cassandra 3.3


Can anyone tell on how to disable writing to debug.log.


thanks.

Re: Disable writing to debug.log

Posted by Michael Mior <mm...@uwaterloo.ca>.
There are instructions given /etc/cassandra/logback.xml

<!--
In order to disable debug.log, comment-out the ASYNCDEBUGLOG
appender reference in the root level section below.
-->

Looking later in the file, you'll see the following:

  <!-- ASYNCLOG assynchronous appender to debug.log (all levels) -->

  <appender name="ASYNCDEBUGLOG"
class="ch.qos.logback.classic.AsyncAppender">
    <queueSize>1024</queueSize>
    <discardingThreshold>0</discardingThreshold>
    <includeCallerData>true</includeCallerData>
    <appender-ref ref="DEBUGLOG" />
  </appender>

Commenting out this section will disable writing to debug.log.

--
Michael Mior
mmior@uwaterloo.ca

2016-03-01 10:43 GMT-05:00 Rakesh Kumar <dc...@aim.com>:

> Version: Cassandra 3.3
>
> Can anyone tell on how to disable writing to debug.log.
>
> thanks.
>