How to disable/turn off the logging feature from Storm

后端 未结 6 1916
傲寒
傲寒 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:42

    Add below code in log4j.xml.It will just print your intended logs and console outputs :-

    
            
        
    
        
            
        
    
        
            
        
    

    And use Logger.getLogger(Class) in your classes.

提交回复
热议问题