How to Change Log Level in Runtime

Scylla presents the user with a variety of loggers that control the amount and detail of information printed to the system logs. This article contains information about how to query and change the log level of each individual logging system.

To obtain a list of available loggers, do: scylla --help-loggers

To obtain the status of a particular logger:

curl -X GET http://127.0.0.1:10000/system/logger/<subsystem_name>

For example:

curl -X GET http://127.0.0.1:10000/system/logger/sstable

Example output

"info"

To change the status of a particular logger:

curl -X POST http://127.0.0.1:10000/system/logger/sstable?level=trace

Valid log levels are: trace, debug, info, warn, error.

Alternatively you can use Nodetool commands. Refer to setlogginglevel to set the logging level threashold for Scylla classes.