How to disable/turn off the logging feature from Storm

后端 未结 6 1921
傲寒
傲寒 2021-02-04 07:07

I want to turn off the logging feature offered by default when we run from local cluster. Currently its logging so many information on the console.

Below is the example

6条回答
  •  野的像风
    2021-02-04 07:41

    There is a nice documentation on setting up the log level dynamically. It can be done through the UI as well as using the CLI. The later looks better to me. Once you start the topology you can simply use the following command (from inside Storm's installation directory):

        ./bin/storm set_log_level [topology name] -l [logger name]=[LEVEL]:[TIMEOUT]
    

    For more details please check this link

提交回复
热议问题