Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Apache Cassandra - Second Edition
  • Table Of Contents Toc
  • Feedback & Rating feedback
Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

By : Nishant Neeraj
4.6 (10)
close
close
Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

4.6 (10)
By: Nishant Neeraj

Overview of this book

The book is aimed at intermediate developers with an understanding of core database concepts who want to become a master at implementing Cassandra for their application.
Table of Contents (10 chapters)
close
close

Cassandra log


Last, but not least, Cassandra log is a good tool for monitoring what is going on inside Cassandra. However, monitoring the log file is an extremely non-scalable option. Therefore, if you are starting with fewer than five Cassandra machines, you may consider occasionally looking into their log files. The most common use of the Cassandra log is to perform the postmortem for a failure when you do not have any other monitoring and reporting mechanism in place.

The location of the log4j log can be found from Cassandra's conf/log4j-server.properties file:

# This has been altered during installation
log4j.appender.R.File=/mnt/cassandra-logs/system.log

As long as you view this file filled with lines, starting with INFO, you may think the system has been behaving alright. Lines with WARN may or may not be interesting.

For example, it is ok to have some WARN messages in the system, as follows:

INFO [MemoryMeter:1] 2013-05-24 12:31:39,099 Memtable.java (line 213) CFS(Keyspace='Keyspace1'...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete