<@U078Y59KC3B> how to set log level to debug dynam...
# ask-ai
s
@RunLLM how to set log level to debug dynamically in pulsar cluster
r
To set the log level to debug dynamically in a Pulsar cluster, you can use the
update-dynamic-config
command provided by Pulsar's admin API. This allows you to change the log level without restarting the broker. Here's a brief overview: 1. List Updatable Configurations: First, check which configurations can be updated dynamically using the
list-dynamic-config
command. 2. Update Log Level: Use the
update-dynamic-config
command to set the log level to debug. For example:
Copy code
pulsar-admin brokers update-dynamic-config --config pulsar.log.level --value DEBUG
This command updates the log level to DEBUG for the broker. Make sure you have the necessary permissions to execute these commands. Would you like more detailed instructions or information on other components? Sources: - https://docs.streamnative.io/private/config-log-format-1.11.0 - https://docs.streamnative.io/private/private-cloud-log-format 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.