rpk cluster loggers set
Set broker logger’s log level.
This command temporarily changes a broker logger’s log level. Each Redpanda broker has many loggers, and each can be individually changed. Any change to a logger persists for a limited amount of time, so as to ensure you do not accidentally enable debug logging permanently.
It is optional to specify a logger; if you do not, this command will prompt from the set of available loggers.
The special logger all enables all loggers. Alternatively, you can specify
many loggers at once.
This command accepts loggers that it does not know of to ensure you can
independently update your Redpanda installations from rpk. The success or
failure of enabling each logger is individually printed.
Use rpk cluster loggers list to display available loggers.
Flags
| Value | Type | Description |
|---|---|---|
|
int |
Seconds to persist this log level override before Redpanda reverts to its previous settings (if 0, persist until shutdown). |
|
string |
Log level to set ( |
|
int |
Broker to apply the log level change on. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |