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
Add below code in log4j.xml.It will just print your intended logs and console outputs :-
And use Logger.getLogger(Class) in your classes.