Question-119: While analyzing the Cassandra cluster you found that one of the nodes in the ring is responding quite slow to query. Hence, you decided to debug the system and wanted to enable the log level to Debug only on that particular node. And once analysis is done, you wanted to reset the log level to INFO. Which of the following option you would use, so that you don’t have to restart the cluster?
- You would be changing the log level in logback.xml file. Which would be effective for next query
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Ans : C
Exp : You can use the nodetool setlogginglevel which can directly talk to the processes. And does not require node to be restart. If you restart the node then this command would not be effective after restart.
Below is the example through which you can enable the logging level to Debug, without the restarting of the node.
You can access to full explanation to question and answer from this page.