Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 2.05 KB

step1.md

File metadata and controls

54 lines (44 loc) · 2.05 KB
Full Query Logging ℹ️ For technical support, please contact us via email or LinkedIn.
⬅️ Back Step 1 of 4 Next ➡️
Enable full query logging via nodetool

In this step, you will enable full query logging via nodetool.

We've already started a single node Cassandra cluster for you in the background. When the command prompt appears in the terminal, the node is initialized and ready to go.

✅ First, let's create a directory to store our full query log files:

mkdir /tmp/fqllogs

✅ Now you can connect to the node using nodetool and enable full query logging, using the directory we just created as the path:

nodetool enablefullquerylog --path /tmp/fqllogs

✅ To get a listing of the other options available on this command, execute the following:

nodetool help enablefullquerylog

In this step, you enabled full query logging dynamically on a running Cassandra node using nodetool and learned about the available options on the enablefullquerylog command.

⬅️ Back Next ➡️