anchor.diff:  log4j.appender.A.filter.1.ActiveCategories=<%= node['cassandra']['active_categories'] %>
   log4j.appender.A.filter.1.ExemptKeyspaces=do_not_log
   <% else %>
  -#log4j.logger.DataAudit=INFO, A
  +#log4j.logger.DataAudit=<%= node['cassandra']['log_level'] %>, A
   #log4j.additivity.DataAudit=false
   #log4j.appender.A=org.apache.log4j.RollingFileAppender
  -#log4j.appender.A.File=/var/log/cassandra/audit.log
  +#log4j.appender.A.File=<%= node['cassandra']['log_dir'] %>/audit.log
   #log4j.appender.A.bufferedIO=true
   #log4j.appender.A.maxFileSize=200MB
   #log4j.appender.A.maxBackupIndex=5
  
positive.code: # See the License for the specific language governing permissions and
  # limitations under the License.
  
  # for production, you should probably set pattern to %c instead of %l.  
  # (%l is slower.)
  
  # output messages into a rolling log file as well as stdout
  
negative.code: 
  # audit log
  <% if node['cassandra']['audit_logging'] %>
  log4j.logger.DataAudit=<%= node['cassandra']['log_level'] %>, A
  log4j.additivity.DataAudit=false
  log4j.appender.A=org.apache.log4j.RollingFileAppender
  log4j.appender.A.File=<%= node['cassandra']['log_dir'] %>/audit.log
  log4j.appender.A.bufferedIO=true
  log4j.appender.A.maxFileSize=200MB
  log4j.appender.A.maxBackupIndex=5
  